Modifier and Type | Field and Description |
---|---|
protected java.io.ObjectInputStream |
is |
static int |
MOTOR_PORT |
protected java.lang.String |
name |
protected java.io.ObjectOutputStream |
os |
protected int |
portNum |
static int |
SENSOR_PORT |
protected int |
typ |
Constructor and Description |
---|
RemoteRequestPort(java.lang.String name,
int typ,
int portNum,
java.io.ObjectInputStream is,
java.io.ObjectOutputStream os) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
return the string name used to reference this physical port
|
<T extends IOPort> |
open(java.lang.Class<T> portclass)
Obtain access to a class that can be used to talk to the port hardware
|
public static final int SENSOR_PORT
public static final int MOTOR_PORT
protected java.lang.String name
protected int typ
protected int portNum
protected java.io.ObjectInputStream is
protected java.io.ObjectOutputStream os
public RemoteRequestPort(java.lang.String name, int typ, int portNum, java.io.ObjectInputStream is, java.io.ObjectOutputStream os)
public java.lang.String getName()
Port