VIRTUTECH CONFIDENTIAL    Previous - Up - Next

recorder

Provided by
recorder
Class Hierarchy
conf-objectlog-objectrecorder
Interfaces Implemented
log_object, event_poster
Description
The recorder class is used to record and playback I/O events. Recordable events include network traffic and mouse and keyboard events.

Attributes

Attributes inherited from class conf-object
attributes, classname, component, iface, name, object_id, queue
Attributes inherited from class log-object
access_count, log_buffer, log_buffer_last, log_buffer_size, log_group_mask, log_groups, log_level, log_type_mask
Attribute List
clients
Pseudo attribute; read-only access; type: [o*].

List of connected devices.

in_file
Optional attribute; read/write access; type: String.

Name of input file.

input_during_playback
Session attribute; read/write access; type: Integer.

If nonzero, input is accepted when playback is active.

out_file
Optional attribute; read/write access; type: String.

Name of output file.

playback
Session attribute; read/write access; type: Integer.

If nonzero, playback is active.

recording
Session attribute; read/write access; type: Integer.

If nonzero, recording is active.

save_file
Pseudo attribute; write-only access; type: String.

Name of save file.

Command List

Commands defined by interface log_object
log, log-group, log-level, log-size, log-type
Commands
infoprint information about the device
playback-startplay back recorded I/O
playback-stopstop playback
recorder-savesave recorder
recorder-startrecord input to file
recorder-stopstop recorder
statusprint status of the device

Command Descriptions

<recorder>.info
Synopsis
<recorder>.info
Description
Print detailed information about the configuration of the device.
<recorder>.playback-start
Synopsis
<recorder>.playback-start input-file
Description
Starts playback from specified file. The I/O traffic in the file that is to be played back must have been recorded using a machine configuration identical to the current configuration. It is highly recommended that console input is blocked when you play back I/O, or the session may lose its synchronization.
<recorder>.playback-stop
Synopsis
<recorder>.playback-stop
Description
Stop the I/O playback. Note that once playback has been stopped in cannot be restarted.
<recorder>.recorder-save
Synopsis
<recorder>.recorder-save output-file
Description
Save recorded playback data.
<recorder>.recorder-start
Synopsis
<recorder>.recorder-start output-file
Description
Record input data to specified file. I/O is recorded from all devices that are recording aware (that includes all devices that are shipped in standard distributions).
<recorder>.recorder-stop
Synopsis
<recorder>.recorder-stop
Description
Stop the recording of incoming data.
<recorder>.status
Synopsis
<recorder>.status
Description
Print detailed information about the current status of the device.

VIRTUTECH CONFIDENTIAL    Previous - Up - Next