cca-spec-babel  0.8.6-unstable(developer)
Public Member Functions
gov.cca.ports.ConnectionEvent Interface Reference

Event created when two components are connected. More...

List of all members.

Public Member Functions

EventType getEventType ()
cca.TypeMap getPortInfo ()
 Get Properties of the affected Port.

Detailed Description

Event created when two components are connected.


Member Function Documentation

Returns the integer from those enumerated that describes the event.

The semantics are noted before each member of the enum/static constant. We can add in different types of connect/disconnect as multiports and explicit local/global/sync/async semantics are agreed to in the future. At present we assume that:

  • All instances in a component cohort (often thought of as a single "parallel component") receive all the events and in the same order, but not necessarily globally synchronously.

  • For disconnections, within a process the events are delivered first to the using component then (if necessary) to the providing component.

  • For connections, within a process the events are delivered first to the providing component then (if necessary) to the using component.

Clearly some of the assumptions above may not suit a component instance in which multiple execution threads act on a single instance of the cca.Services object (SMP). The Services specification is ambiguous as to whether such a component is even allowed.

When this is clarified, additional members of the enum may arise, in which case the assumptions here apply only to ConnectPending, Connected, DisconnectPending, Disconnected types.

Get Properties of the affected Port.

Among the standard properties are the name and type info. The keys are cca.portName, cca.portType.


The documentation for this interface was generated from the following file: