next up previous top
Next: Connector Implementation
Up: Role Type
Previous: Writee

Writer

Semantics

The role type Writer corresponds to the requirement that the associated player in a FileIO connection be a writer in a compilation unit of a data block that gets appended to the end of a sequential file. The player type WriteFile in UniCon captures the semantics of this write action. The responsibility of the WriteFile player is to act as the writer of such a data block in a FileIO connection.

In a FileIO connection whose IOMode is either WriteOnly or ReadWrite, there must be at least one writer (i.e., one Writer role/player association) of sequential file data blocks, however, there may be infinitely many.

Connector Types In

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

Player Type
Associations

A role of type Writer can legally be associated with the following player type in a FileIO connection:

Property Defaults

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

General.WriteFile,
Module.WriteFile

next up previous top
Next: Connector Implementation
Up: Role Type
Previous: Writee

Comments? Mail the current maintainer of this page.

Author: Gregory Zelesnik

Last Modified: May 12, 1996