WARNING: In a system described by UniCon, when two players are involved in a bind the external player inherits the number of connections made to an internal player. This may have a bearing on the MaxAssocs value that the system designer chooses for external players in components with composite implementations.
Additionally, the system designer must not choose a MaxAssocs value for an external player which represents an increase in the maximum number of connections to the internal player as specified by its MaxAssocs value. This would defeat the purpose of the
MaxAssocs value of the player to which the external player is ultimately bound - the player corresponding to the source code that implements it in the component with the primitive implementation.
Each player type has its own default:
---------------------- Player Type Default ---------------------- GlobalDataDef 65535 GlobalDataUse 1 PLBundle 65535 RPCCall 1 RPCDef 65535 ReadFile 1 ReadNext 1 RoutineCall 1 RoutineDef 65535 RTLoad 65535 StreamIn 1 StreamOut 1 WriteFile 1 WriteNext 1 ----------------------
Subsequent specifications of the MaxAssocs property in a single property list replace earlier specifications (i.e., the last specification is the one that the UniCon compiler uses).
PLAYER heap_sort IS RoutineCall SIGNATURE ("int *"; "int *") MAXASSOCS (1) END heap_sortThe above example prevents the heap_sort RoutineCall player from being connected more than once per instantiation of the component in which it is defined.
Author:
Last Modified: May 12, 1996