java.lang.Object | +--rcx.RCXSocketPort
RCXSocketPort - A TCP Socket RCXCommPort
| Constructor Summary | |
RCXSocketPort()
|
|
| Method Summary | |
void |
close()
Closes the socket port |
java.io.InputStream |
getInputStream()
Obtains the InputStream from the socket. |
java.io.OutputStream |
getOutputStream()
Obtains the OutputStream from the socket. |
boolean |
open(java.lang.String portName)
Opens and setups a socket port as a RCXCommPort. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RCXSocketPort()
| Method Detail |
public void close()
close in interface RCXCommPortRCXCommPortpublic java.io.InputStream getInputStream()
getInputStream in interface RCXCommPortRCXCommPortpublic java.io.OutputStream getOutputStream()
getOutputStream in interface RCXCommPortRCXCommPortpublic boolean open(java.lang.String portName)
open in interface RCXCommPortRCXCommPort