|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrcx.josx.rcxcomm.RCXAbstractPort
rcx.josx.rcxcomm.RCXPort
public class RCXPort
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.
Constructor Summary | |
---|---|
RCXPort()
|
|
RCXPort(java.lang.String port)
|
Method Summary |
---|
Methods inherited from class rcx.josx.rcxcomm.RCXAbstractPort |
---|
close, getInputStream, getOutputStream, getTimeOut, reset, setListen, setTimeOut |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RCXPort() throws java.io.IOException
java.io.IOException
public RCXPort(java.lang.String port) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |