Package lejos.remote.rcx
Class RCXPort
- java.lang.Object
-
- lejos.remote.rcx.RCXAbstractPort
-
- lejos.remote.rcx.RCXPort
-
public class RCXPort extends RCXAbstractPort
RCXPort provides an interface similar to java.net.Socket Adapted from original code created by the LEGO3 Team at DTU-IAU Uses Reliable low-level comms for communication. This is a two-layer comms stack consisting of LLCReliableHandler and LLCHandler. It ensures that all packets get through. Communication will stop when the IR tower is not in view or in range, and will resume when it comes back into view. RCXPort does not support addressing - it broadcasts messages to all devices.- Author:
- Brian Bagnall, Lawrie Griffiths
-
-
Field Summary
-
Fields inherited from class lejos.remote.rcx.RCXAbstractPort
packetHandler
-
-
Method Summary
-
Methods inherited from class lejos.remote.rcx.RCXAbstractPort
close, getInputStream, getOutputStream, getTimeOut, reset, setTimeOut
-
-
-
-
Constructor Detail
-
RCXPort
public RCXPort(I2CPort port) throws java.io.IOException
- Throws:
java.io.IOException
-
-