Modifier and Type | Field and Description |
---|---|
static int |
MOTOR_PORT |
protected java.lang.String |
name |
protected int |
portNum |
protected RMIEV3 |
rmiEV3 |
static int |
SENSOR_PORT |
protected int |
typ |
Constructor and Description |
---|
RemotePort(java.lang.String name,
int typ,
int portNum,
RMIEV3 rmiEV3) |
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 RMIEV3 rmiEV3
public RemotePort(java.lang.String name, int typ, int portNum, RMIEV3 rmiEV3)