Public Member Functions | |
| EventType | getEventType () |
| cca.TypeMap | getPortInfo () |
| Get Properties of the affected Port. | |
| EventType gov.cca.ports.ConnectionEvent.getEventType | ( | ) |
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:
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.
| cca.TypeMap gov.cca.ports.ConnectionEvent.getPortInfo | ( | ) |
Get Properties of the affected Port.
Among the standard properties are the name and type info. The keys are cca.portName, cca.portType.
1.5.9