josx.rcxcomm
Class RCXLNPPort

java.lang.Object
  extended byjosx.rcxcomm.RCXAbstractPort
      extended byjosx.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.


Field Summary
 
Fields inherited from class josx.rcxcomm.RCXAbstractPort
packetHandler
 
Constructor Summary
RCXLNPPort()
           
RCXLNPPort(String port)
           
 
Methods inherited from class 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
 

Constructor Detail

RCXLNPPort

public RCXLNPPort()
           throws IOException

RCXLNPPort

public RCXLNPPort(String port)
           throws IOException