set stream [new ArchiveStream/Record $session]
session object and the files are opened. Observer agents are notified of the creation of the new stream.
Note: This is an abstract base class. Do not create objects directly of this class. In fact OTcl programmers should never have to create objects of this class. These objects are created on the fly by C++ code whenever a new source is detected by the ArchiveSession/Record object.
set m [$stream media]Helper method to determine the media associated with this stream.
Returns: A string representing the media associated with this stream.
name:
$stream notify_observers name <user-name>Invoked when a name identifying the source of the stream is received from the network.
filename:
$stream notify_observers filename <filename-prefix>Invoked to notify the user interface of the filename prefix being used to save this stream. The actual filenames used are filename-prefix.dat and filename-prefix.idx for the data and index files respectively.
bytes_rcvd:
$stream notify_observers bytes_rcvd <number-of-bytes>Invoked when data is received from the network.
<number-of-bytes> represents the total number of bytes received so far.