Package lejos.remote.ev3
Class RemotePort
- java.lang.Object
-
- lejos.remote.ev3.RemotePort
-
-
Field Summary
Fields Modifier and Type Field Description static intMOTOR_PORTprotected java.lang.Stringnameprotected intportNumprotected RMIEV3rmiEV3static intSENSOR_PORTprotected inttyp
-
Constructor Summary
Constructors Constructor Description RemotePort(java.lang.String name, int typ, int portNum, RMIEV3 rmiEV3)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()return the string name used to reference this physical port<T extends IOPort>
Topen(java.lang.Class<T> portclass)Obtain access to a class that can be used to talk to the port hardware
-
-
-
Field Detail
-
SENSOR_PORT
public static final int SENSOR_PORT
- See Also:
- Constant Field Values
-
MOTOR_PORT
public static final int MOTOR_PORT
- See Also:
- Constant Field Values
-
name
protected java.lang.String name
-
typ
protected int typ
-
portNum
protected int portNum
-
rmiEV3
protected RMIEV3 rmiEV3
-
-
Constructor Detail
-
RemotePort
public RemotePort(java.lang.String name, int typ, int portNum, RMIEV3 rmiEV3)
-
-