next up previous top
Next: GlobalDataDef
Up: Player
Previous: Player

Player Type

Description

Players behave in identifiable, distinct ways. Because of this, they play distinct roles in connections. For example, a procedure call connection requires two players that each play a different role. One plays the role of caller, and the other plays the role of definer. These distinct behaviors separate players into categories, or types. A player type captures the semantics of a player's behavior and specifies the kinds of roles a player can play in connections.

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

Syntax

The following is the syntax for specifying a player type:

  <player_type> :== 
    GlobalDataDef
    | GlobalDataUse
    | PLBundle
    | ReadFile
    | ReadNext
    | RoutineCall
    | RoutineDef
    | RPCCall
    | RPCDef
    | RTLoad
    | StreamIn
    | StreamOut
    | WriteFile
    | WriteNext

next up previous top
Next: GlobalDataDef
Up: Player
Previous: Player

Comments? Mail the current maintainer of this page.

Author: Gregory Zelesnik

Last Modified: May 12, 1996