File 'base/sequencer.cls' (part of 'Pool_Base')
Home | Packages | Files | Procedures | Classes | Namespaces | Keywords | External packages
Class 'sequencer'
- -timeout
- Timeout in milliseconds.
Event (event arglist)
|
|
Argument: event
|
Name of event to raise. Allowed values are 'error', 'timeout', 'eof', 'line', 'next' and 'done'.
|
Argument: arglist
|
Arbitrary arguments given to the event. Only 'error' and 'line' actually use arguments (the first one only), all else ignore this information.
|
OnLine (line)
|
|
Argument: line
|
Contains the received information.
|
Receive (channel)
|
|
Argument: channel
|
Name of channel the sequencer waited for.
|
Timeout (channel)
|
|
Argument: channel
|
Name of channel the sequencer waited for.
|
errorInfo ()
|
Returns: The error information of this sequencer.
|
event (event args)
|
|
Notes: Raising 'done' executes 'OnDone' and then automatically destroys the sequencer
|
Argument: event
|
Name of event to raise. Allowed values are 'error', 'timeout', 'eof', 'line', 'next' and 'done'.
|
Argument: args
|
Arbitrary arguments given to the event. Only 'error' and 'line' actually use arguments (the first one only), all else ignore this information.
|
next (method)
|
|
Argument: method
|
The method to set as 'next' handler.
|
state ()
|
Returns: The state of this sequencer.
|
wait (channel method)
|
|
Argument: channel
|
Name of channel to wait on for input.
|
Argument: method
|
Name of the method to execute after a line was received.
|
- state
- The current state of the sequencer. One of: error, timeout, eof, done, next or line. Equal to the last event executed by us.
- error
- Error message placed into the sequencer by a derived class.
- nextMethod
- Name of the method to call upon receiving the 'next' event.
- lineMethod
- Name of the method to call upon receiving the 'line' event.
- after
- The handle of the timeout set via wait.
Home | Packages | Files | Procedures | Classes | Namespaces | Keywords | External packages
Generated by AutoDoc 2.4 at 09/14/2000, invoked by Andreas Kupries