rcx.josx.rcxcomm
Class RCXLNPPort
java.lang.Object
rcx.josx.rcxcomm.RCXAbstractPort
rcx.josx.rcxcomm.RCXLNPPort
public class RCXLNPPort
- extends RCXAbstractPort
RCXLNPPort provides an interface similar to java.net.Socket
Adapted from original code created by the LEGO3 Team at DTU-IAU
This version of RCXPort uses the Legos Network protocol (LNP).
This allow communication with LegOS programs or PC LegOS applications.
This version of RCXPort uses the Integrity Layer of LNP. This ensures
packets are not corrupted, but does not ensure that they get through.
Packets can get lost. This version does not support addressing.
A two layer protocol stak is used consisting of LNPIntegrityHandler
and LNPHandler.
- Author:
- Brian Bagnall, Lawrie Griffiths
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RCXLNPPort
public RCXLNPPort()
throws java.io.IOException
- Throws:
java.io.IOException
RCXLNPPort
public RCXLNPPort(java.lang.String port)
throws java.io.IOException
- Throws:
java.io.IOException