Package lejos.remote.ev3
Class RemoteRequestPort
- java.lang.Object
-
- lejos.remote.ev3.RemoteRequestPort
-
-
Field Summary
Fields Modifier and Type Field Description protected java.io.ObjectInputStreamisstatic intMOTOR_PORTprotected java.lang.Stringnameprotected java.io.ObjectOutputStreamosprotected intportNumstatic intSENSOR_PORTprotected inttyp
-
Constructor Summary
Constructors Constructor Description RemoteRequestPort(java.lang.String name, int typ, int portNum, java.io.ObjectInputStream is, java.io.ObjectOutputStream os)
-
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
-
is
protected java.io.ObjectInputStream is
-
os
protected java.io.ObjectOutputStream os
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:Portreturn the string name used to reference this physical port
-
-