|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BluetoothSocket
This interfaces models a RFComm connection to an assigned port to to a remote device. BluetoothSocket instances are obtained invoking public BluetoothSocket openSocket(int port) method on RemoteBluetoothDevice
Method Summary | |
---|---|
void |
closeSocket()
Closes this socket. |
java.io.InputStream |
getInputStream()
Gets the InputStream |
java.io.OutputStream |
getOutputStream()
Gets the OutputStream |
int |
getPort()
Gets the remote port (channel) connected through this socket |
RemoteBluetoothDevice |
getRemoteBluetoothDevice()
Gets the RemoteBluetoothDevice instance that owns this socket |
Method Detail |
---|
RemoteBluetoothDevice getRemoteBluetoothDevice()
int getPort()
java.io.InputStream getInputStream() throws java.lang.Exception
java.lang.Exception
java.io.OutputStream getOutputStream() throws java.lang.Exception
java.lang.Exception
void closeSocket()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |