Package gov.cca.ports
Interface StandardEventType
- All Known Subinterfaces:
ConnectionEvent
public interface StandardEventType
Mapping of standard event types in the component lifecycle to
strings and integers.
In decoding the EventData messages, each kind of event here
requires details to make sense. The details string is composed
of information we want to eventually be in XML.
Basic info types:
FID - framework ID string,
likely to be the component id of an outermost container.
CID - existing local container ID string,
CN - component local name, within its container.
pport - name of a provides port as known to the component defining it.
uport - name of a uses port as known to the component defining it.
class - name of port type or of component type as registered in factory.
Prefixes/suffixes:
caller - the using side of a connection
callee - the used side of a connection
requested - the name is a suggestion.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe enumerated value type for a listener to indicate it wants all notices.static final Stringstatic final intA component newly created.static final Stringstatic final intA component creation requested.static final Stringstatic final intA component deletion completed.static final Stringstatic final intA component deletion requested.static final Stringstatic final intA connection recently made.static final Stringstatic final intA connection may soon be made.static final Stringstatic final intA connection recently unmade.static final Stringstatic final intA connection may soon be unmade.static final Stringstatic final intSomebody lost their cookies.static final Stringstatic final intA factory is no longer available for more creations.static final Stringstatic final intA factory is now available.static final Stringstatic final intWhen digesting an alleged string or int type, it was found not to be in the standard.static final Stringstatic final intA provides port was added and is available.static final Stringstatic final intA provides port is being added (but not yet available).static final Stringstatic final intA port has been fetched with getPort.static final Stringstatic final intA port is about to be fetched for use with getPort.static final Stringstatic final intA uses port was registered.static final Stringstatic final intA uses port is about to be registered.static final Stringstatic final intA port has been released with releasePort.static final Stringstatic final intA port is about to be released from use with releasePort.static final Stringstatic final intA provides port has been removed and is no longer available.static final Stringstatic final intA provides port is being removed, but is still available.static final Stringstatic final intA uses port has been unregistered.static final Stringstatic final intA uses port is about to be unregistered.static final String
-
Field Details
-
NONE
static final int NONEWhen digesting an alleged string or int type, it was found not to be in the standard.- See Also:
-
NONE_string
- See Also:
-
Error
static final int ErrorSomebody lost their cookies. Should never be deliberately sent or received.- See Also:
-
Error_string
- See Also:
-
ALL
static final int ALLThe enumerated value type for a listener to indicate it wants all notices. Never delivered to a listener.- See Also:
-
ALL_string
- See Also:
-
ConnectPending
static final int ConnectPendingA connection may soon be made. (Assuming no errors in process). The detail string is of form FID CID caller-CN callee-uport callee-CN callee-pport.- See Also:
-
ConnectPending_string
- See Also:
-
Connected
static final int ConnectedA connection recently made. The detail string is of form FID CID caller-CN caller-uport callee-CN callee-pport.- See Also:
-
Connected_string
- See Also:
-
DisconnectPending
static final int DisconnectPendingA connection may soon be unmade. (Assuming no errors in process). The detail string is of form FID CID caller-CN caller-uport callee-CN callee-pport.- See Also:
-
DisconnectPending_string
- See Also:
-
Disconnected
static final int DisconnectedA connection recently unmade. The detail string is of form FID CID caller-CN caller-uport callee-CN callee-pport.- See Also:
-
Disconnected_string
- See Also:
-
ComponentAddPending
static final int ComponentAddPendingA component creation requested. (Assuming no errors in process). The detail string is of form FID CID class CN-requested.- See Also:
-
ComponentAddPending_string
- See Also:
-
ComponentAdded
static final int ComponentAddedA component newly created. The detail string is of form FID CID class CN.- See Also:
-
ComponentAdded_string
- See Also:
-
ComponentDeletePending
static final int ComponentDeletePendingA component deletion requested. The detail string is of form FID CID CN.- See Also:
-
ComponentDeletePending_string
- See Also:
-
ComponentDeleted
static final int ComponentDeletedA component deletion completed. The detail string is of form FID CID CN.- See Also:
-
ComponentDeleted_string
- See Also:
-
PortAddPending
static final int PortAddPendingA provides port is being added (but not yet available). (Assuming no errors in process). The detail string is of form FID CID CN pport-requested.- See Also:
-
PortAddPending_string
- See Also:
-
PortAdded
static final int PortAddedA provides port was added and is available. The detail string is of form FID CID CN pport.- See Also:
-
PortAdded_string
- See Also:
-
PortRemovePending
static final int PortRemovePendingA provides port is being removed, but is still available. The detail string is of form FID CID CN pport.- See Also:
-
PortRemovePending_string
- See Also:
-
PortRemoved
static final int PortRemovedA provides port has been removed and is no longer available. The detail string is of form FID CID CN pport.- See Also:
-
PortRemoved_string
- See Also:
-
PortRegisterPending
static final int PortRegisterPendingA uses port is about to be registered. (Assuming no errors in process). The detail string is of form FID CID CN uport-requested.- See Also:
-
PortRegisterPending_string
- See Also:
-
PortRegistered
static final int PortRegisteredA uses port was registered. The detail string is of form FID CID CN uport.- See Also:
-
PortRegistered_string
- See Also:
-
PortUnregisterPending
static final int PortUnregisterPendingA uses port is about to be unregistered. The detail string is of form FID CID CN uport.- See Also:
-
PortUnregisterPending_string
- See Also:
-
PortUnregistered
static final int PortUnregisteredA uses port has been unregistered. The detail string is of form FID CID CN uport.- See Also:
-
PortUnregistered_string
- See Also:
-
PortFetchPending
static final int PortFetchPendingA port is about to be fetched for use with getPort. The detail string is of form FID CID CN uport.- See Also:
-
PortFetchPending_string
- See Also:
-
PortFetched
static final int PortFetchedA port has been fetched with getPort. The detail string is of form FID CID CN uport.- See Also:
-
PortFetched_string
- See Also:
-
PortReleasePending
static final int PortReleasePendingA port is about to be released from use with releasePort. The detail string is of form FID CID CN uport.- See Also:
-
PortReleasePending_string
- See Also:
-
PortReleased
static final int PortReleasedA port has been released with releasePort. The detail string is of form FID CID CN uport.- See Also:
-
PortReleased_string
- See Also:
-
FactoryOpened
static final int FactoryOpenedA factory is now available. The detail string is of form FID CID CN.- See Also:
-
FactoryOpened_string
- See Also:
-
FactoryClosed
static final int FactoryClosedA factory is no longer available for more creations. It may remain open for destruction of previously created items, however. ComponentDeleted is the final message in the lifecycle of the component, factory or not. The detail string is of form FID CID CN.- See Also:
-
FactoryClosed_string
- See Also:
-