next up previous top
Next: Caller
Up: Role
Previous: Role

Role Type

Description

A role defines the responsibilities and the requirements for a player involved in an interaction among components. Role types are primitive typing units used to (1) identify players that can play a given role in a connection and (2) define their responsibilities and requirements in such a connection. Each role type in UniCon has a pre-defined set of player types that it may be associated with in a connection, and each defines the semantics of the responsibilities of the players in the connection.

Every role definition has a type. In UniCon, there are eleven pre-defined role types. The specification of the type appears immediately following the keyword IS in a UniCon role definition.

Syntax

The following is the syntax for specifying a role type:

  <role_type> :== 
    Caller
    | Definer
    | Load
    | Participant
    | Readee
    | Reader
    | Sink
    | Source
    | User
    | Writee
    | Writer

next up previous top
Next: Caller
Up: Role
Previous: Role

Comments? Mail the current maintainer of this page.

Author: Gregory Zelesnik

Last Modified: May 12, 1996