rcx.rcxdirect
Class Port

java.lang.Object
  extended by rcx.rcxdirect.Port

public class Port
extends java.lang.Object


Method Summary
static java.lang.String getName()
           
static void setName(java.lang.String aPortName)
          Sets the serial port that will be used to transfer data to the RCX, i.e.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public static java.lang.String getName()
Returns:
the string representing the serial port that will be used to transfer data to the RCX.

setName

public static void setName(java.lang.String aPortName)
Sets the serial port that will be used to transfer data to the RCX, i.e. COM1, /dev/ttyS0.

Parameters:
aPortName - A string representing the serial port.