public class BluetoothServer extends BluetoothP2PConnector
BluetoothP2PConnector.ConnectorState, BluetoothP2PConnector.ConnectorType, BluetoothP2PConnector.P2PConnectorListener
connectDevice, inputThread, lock, outputThread, sendDataQueue, sendLock
コンストラクタと説明 |
---|
BluetoothServer(android.content.Context context) |
修飾子とタイプ | メソッドと説明 |
---|---|
protected boolean |
requestConnecting(UUID protocol)
サーバー用接続を行う
|
protected void |
requestDisconnecting()
切断を行う
|
void |
setServerRequestTimeoutMs(long serverRequestTimeout)
サーバーのリクエスト待ち時間を指定する
|
addListener, clearSendRequest, clearSendRequestOver, getConnectDevice, getConnectorTimeoutMs, isRequestDisconnect, popSendData, removeListener, removeSendRequest, requestSendData, setConnectorTimeoutMs, setThreadWaitTimeMs, start, startInputThread, startOutputThread, stop
public void setServerRequestTimeoutMs(long serverRequestTimeout)
serverRequestTimeout
- protected boolean requestConnecting(UUID protocol)
requestConnecting
クラス内 BluetoothP2PConnector
protected void requestDisconnecting()