|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpeer2me.network.bluetooth.BluetoothObjectPush
public class BluetoothObjectPush
This class does the actual connecting and sending of data to a remote device.
This class is used by MessageQueueProcessor
and PingQueueProcessor
Method Summary | |
---|---|
void |
closeConnection()
Closes the connection that was created by connect(String) . |
boolean |
connect(java.lang.String connectionURL)
Tries to create a connection to another Bluetooth device. |
void |
sendMessage(Message message)
Sends the message given as parameter. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean connect(java.lang.String connectionURL)
connectionURL
- The connectionURL that is used to establish a connection
public void closeConnection()
connect(String)
.
public void sendMessage(Message message)
connect(String)
, and if a connection is established, it
will send the message.
message
- The message to be sent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |