|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lejos.nxt.comm.USBConnection
public class USBConnection
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 |
---|
public USBConnection()
Method Detail |
---|
public void close() throws IOException
StreamConnection
close
in interface StreamConnection
IOException
public DataInputStream openDataInputStream() throws IOException
StreamConnection
openDataInputStream
in interface StreamConnection
IOException
public DataOutputStream openDataOutputStream() throws IOException
StreamConnection
openDataOutputStream
in interface StreamConnection
IOException
public InputStream openInputStream() throws IOException
StreamConnection
openInputStream
in interface StreamConnection
IOException
public OutputStream openOutputStream() throws IOException
StreamConnection
openOutputStream
in interface StreamConnection
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |