next up previous top
Next: User
Up: Role Type
Previous: Sink

Source

Semantics

The role type Source corresponds to the requirement that the associated player in a Pipe connection be a stream of data that is being read from the front of a sequential file or that is being generated as output from a filter component. The player type ReadNext in UniCon captures the semantics of the stream being read from a sequential file. In this case, the stream is actually read as a series of data blocks whose format is specified in the
RecordFormat property in the SeqFile component. The player type StreamOut in UniCon captures the semantics of the data stream being generated as output by a Filter component. The responsibility of the ReadNext player is to act as a stream of data being read from the front of a sequential file in a Pipe connection. The responsibility of the StreamOut player is to act as a stream of data being written to a pipe in a Pipe connection.

In a Pipe connection there must be exactly one stream of data being written to the pipe or being read from the file (i.e., one Source role/player association).

Connector Types In

A role of type Source can legally be defined in a connector of the following type:

Player Type
Associations

A role of type Source can legally be associated with the following player types in a Pipe connection:

Property Defaults

The following are the default values of the properties for the Source role:

General.ReadNext,
SeqFile.ReadNext,
General.StreamOut,
Filter.StreamOut

next up previous top
Next: User
Up: Role Type
Previous: Sink

Comments? Mail the current maintainer of this page.

Author: Gregory Zelesnik

Last Modified: May 12, 1996