コード例 #1
0
 def write(self, data):
     if self.channel is None:
         raise _socket.error("socket not connected")
     return \
         BBBluetoothChannelDelegate.synchronouslyWriteData_toL2CAPChannel_(
             buffer(data), self.channel)
コード例 #2
0
# Copyright (c) 2009 Bea Lam. All rights reserved.
コード例 #3
0
# Copyright (c) 2009 Bea Lam. All rights reserved.
コード例 #4
0
 def write(self, data):
     if self.channel is None:
         raise _socket.error("socket not connected")
     return \
         BBBluetoothChannelDelegate.synchronouslyWriteData_toL2CAPChannel_(
             buffer(data), self.channel)