|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlejos.nxt.comm.BTConnection
public class BTConnection
Represents a Bluetooth Stream Connection. Currently only used to close a Bluetooth connection, but will be used in a later release to implement input and output streams.
| 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 |
| Method Detail |
|---|
public void close()
throws IOException
StreamConnection
close in interface StreamConnectionIOException
public DataInputStream openDataInputStream()
throws IOException
StreamConnection
openDataInputStream in interface StreamConnectionIOException
public DataOutputStream openDataOutputStream()
throws IOException
StreamConnection
openDataOutputStream in interface StreamConnectionIOException
public InputStream openInputStream()
throws IOException
StreamConnection
openInputStream in interface StreamConnectionIOException
public OutputStream openOutputStream()
throws IOException
StreamConnection
openOutputStream in interface StreamConnectionIOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||