lejos.nxt.comm
Class USBConnection

java.lang.Object
  extended by lejos.nxt.comm.USBConnection
All Implemented Interfaces:
StreamConnection

public class USBConnection
extends Object
implements StreamConnection

Represents a USB Stream Connection.


Constructor Summary
USBConnection()
           
 
Method Summary
 void close()
          Close the stream connection
 DataInputStream openDataInputStream()
          Open and return a DataInputStream - not yet implemented.
 DataOutputStream openDataOutputStream()
          Open and return a DataOutputStream - not yet implemented.
 InputStream openInputStream()
          Open and return an InputStream - not yet implemented.
 OutputStream openOutputStream()
          Open and return an OutputStream - not yet implemented.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait
 

Constructor Detail

USBConnection

public USBConnection()
Method Detail

close

public void close()
           throws IOException
Description copied from interface: StreamConnection
Close the stream connection

Specified by:
close in interface StreamConnection
Throws:
IOException

openDataInputStream

public DataInputStream openDataInputStream()
                                    throws IOException
Description copied from interface: StreamConnection
Open and return a DataInputStream - not yet implemented.

Specified by:
openDataInputStream in interface StreamConnection
Throws:
IOException

openDataOutputStream

public DataOutputStream openDataOutputStream()
                                      throws IOException
Description copied from interface: StreamConnection
Open and return a DataOutputStream - not yet implemented.

Specified by:
openDataOutputStream in interface StreamConnection
Throws:
IOException

openInputStream

public InputStream openInputStream()
                            throws IOException
Description copied from interface: StreamConnection
Open and return an InputStream - not yet implemented.

Specified by:
openInputStream in interface StreamConnection
Throws:
IOException

openOutputStream

public OutputStream openOutputStream()
                              throws IOException
Description copied from interface: StreamConnection
Open and return an OutputStream - not yet implemented.

Specified by:
openOutputStream in interface StreamConnection
Throws:
IOException