Home | History | Annotate | Download | only in wardmodem

Lines Matching full:machine

94         # We use a map from a set of well known state machine names to actual
95 # objects to dispatch state machine calls. This allows tests to provide
96 # alternative implementations of any state machine to wardmodem.
99 # If registered with a non-None machine, the fallback machine is used to
100 # service all AT commands that are not matched with any other machine.
177 Get the registered state machine for the given well known name.
179 @param well_known_name: The name of the desired machine.
181 @return: The machine. None if not found.
189 Register a new state machine.
191 We maintain a map from the well known name of the state machine to the
194 @param state_machine: [StateMachine object] The state machine
204 Register the fallback state machine to forward AT commands to.
206 If this machine is registered, all AT commands for which no matching
210 @param state_machine_name: Well known name of the machine to fallback on
211 if no machine matches an incoming AT command.
217 self._setup_error('Machine %s, set as fallback, has not been '
327 'state machine. AT command: |%s|. Action: |%s|' %
389 - state_machine_name [string] is name of a state machine in the
390 state machine map.
391 - function [string] is a function exported by the state machine
538 |_fallback_state_machine| exists, the default action from this machine
570 machine, function, idxs = candidate_action
574 return machine, function, tuple(fargs)