Class v.c.p.BufferingStateMachine(object, protocol.Protocol):

Part of vmc.common.protocol View In Hierarchy

Known subclasses: vmc.common.protocol.SIMProtocol

A simple SM that handles low level communication with the device
Method __init__ Undocumented
Method cancel_current_delayed_call Cancels current ATCmd dellayed call if active
Method notify_success Notify success to current ATCmd callbacks
Method notify_failure Notify failure to current ATCmd errbacks
Method set_cmd Sets self.cmd to cmd
Method set_state Sets and logs the new state
Method transition_to_idle Transitions to idle state and
Method send_splitcmd Used to send the second part of a split command after prompt appears
Method enque_notification Enqueues a notification
Method dataReceived See twisted.internet.protocol.Protocol.dataReceived
Method process_notifications Processes unsolicited notifications in buffer
Method handle_idle See the method comments
Method handle_waiting Undocumented
def __init__(self, device):
Undocumented
def _timeout_eb(self):
Undocumented
def cancel_current_delayed_call(self):
Cancels current ATCmd dellayed call if active
def notify_success(self, foo):
Notify success to current ATCmd callbacks
def notify_failure(self, failure):
Notify failure to current ATCmd errbacks
def set_cmd(self, cmd):
Sets self.cmd to cmd
def set_state(self, state):
Sets and logs the new state
def transition_to_idle(self):
Transitions to idle state and
def send_splitcmd(self):
Used to send the second part of a split command after prompt appears
def enque_notification(self, klass, *args, **kwds):
Enqueues a notification
ParametersklassThe class of the notification to enqueue
argsThe arguments to instantiate klass
kwdsThe keywords to instantiate klass
def dataReceived(self, data):
See twisted.internet.protocol.Protocol.dataReceived
def process_notifications(self, buffer):
Processes unsolicited notifications in buffer
ParametersbufferBuffer to scan (type: str )
def handle_idle(self, data):
See the method comments
def handle_waiting(self, data):
Undocumented
API Documentation for vodafone-mobile-connect-card-driver-for-linux, generated by pydoctor at 2008-01-10 13:06:31.