rcx
Class RCXSerialPort

java.lang.Object
  |
  +--rcx.RCXSerialPort
All Implemented Interfaces:
RCXCommPort

public class RCXSerialPort
extends java.lang.Object
implements RCXCommPort

RCXSerialPort - represents a serial port


Constructor Summary
RCXSerialPort()
           
 
Method Summary
 void close()
           
static java.util.Vector getAvailableSerialPorts()
          returns a vector of Strings consisting of available serial port names
 java.io.InputStream getInputStream()
           
 java.io.OutputStream getOutputStream()
           
 boolean open(java.lang.String portName)
          opens the serial port
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RCXSerialPort

public RCXSerialPort()
Method Detail

close

public void close()
Specified by:
close in interface RCXCommPort

getAvailableSerialPorts

public static java.util.Vector getAvailableSerialPorts()
returns a vector of Strings consisting of available serial port names


getInputStream

public java.io.InputStream getInputStream()
Specified by:
getInputStream in interface RCXCommPort

getOutputStream

public java.io.OutputStream getOutputStream()
Specified by:
getOutputStream in interface RCXCommPort

open

public boolean open(java.lang.String portName)
opens the serial port

Specified by:
open in interface RCXCommPort
See Also:
RCXCommPort


Copyright 1998-2002 dario laverde