rcx.josx.rcxcomm
Class RCXLNPPort

java.lang.Object
  extended by rcx.josx.rcxcomm.RCXAbstractPort
      extended by 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

Constructor Summary
RCXLNPPort()
           
RCXLNPPort(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

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