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 Details

    • NONE

      static final int NONE
      When digesting an alleged string or int type, it was found not to be in the standard.
      See Also:
    • NONE_string

      static final String NONE_string
      See Also:
    • Error

      static final int Error
      Somebody lost their cookies. Should never be deliberately sent or received.
      See Also:
    • Error_string

      static final String Error_string
      See Also:
    • ALL

      static final int ALL
      The enumerated value type for a listener to indicate it wants all notices. Never delivered to a listener.
      See Also:
    • ALL_string

      static final String ALL_string
      See Also:
    • ConnectPending

      static final int ConnectPending
      A 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

      static final String ConnectPending_string
      See Also:
    • Connected

      static final int Connected
      A connection recently made. The detail string is of form FID CID caller-CN caller-uport callee-CN callee-pport.
      See Also:
    • Connected_string

      static final String Connected_string
      See Also:
    • DisconnectPending

      static final int DisconnectPending
      A 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

      static final String DisconnectPending_string
      See Also:
    • Disconnected

      static final int Disconnected
      A connection recently unmade. The detail string is of form FID CID caller-CN caller-uport callee-CN callee-pport.
      See Also:
    • Disconnected_string

      static final String Disconnected_string
      See Also:
    • ComponentAddPending

      static final int ComponentAddPending
      A component creation requested. (Assuming no errors in process). The detail string is of form FID CID class CN-requested.
      See Also:
    • ComponentAddPending_string

      static final String ComponentAddPending_string
      See Also:
    • ComponentAdded

      static final int ComponentAdded
      A component newly created. The detail string is of form FID CID class CN.
      See Also:
    • ComponentAdded_string

      static final String ComponentAdded_string
      See Also:
    • ComponentDeletePending

      static final int ComponentDeletePending
      A component deletion requested. The detail string is of form FID CID CN.
      See Also:
    • ComponentDeletePending_string

      static final String ComponentDeletePending_string
      See Also:
    • ComponentDeleted

      static final int ComponentDeleted
      A component deletion completed. The detail string is of form FID CID CN.
      See Also:
    • ComponentDeleted_string

      static final String ComponentDeleted_string
      See Also:
    • PortAddPending

      static final int PortAddPending
      A 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

      static final String PortAddPending_string
      See Also:
    • PortAdded

      static final int PortAdded
      A provides port was added and is available. The detail string is of form FID CID CN pport.
      See Also:
    • PortAdded_string

      static final String PortAdded_string
      See Also:
    • PortRemovePending

      static final int PortRemovePending
      A provides port is being removed, but is still available. The detail string is of form FID CID CN pport.
      See Also:
    • PortRemovePending_string

      static final String PortRemovePending_string
      See Also:
    • PortRemoved

      static final int PortRemoved
      A provides port has been removed and is no longer available. The detail string is of form FID CID CN pport.
      See Also:
    • PortRemoved_string

      static final String PortRemoved_string
      See Also:
    • PortRegisterPending

      static final int PortRegisterPending
      A 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

      static final String PortRegisterPending_string
      See Also:
    • PortRegistered

      static final int PortRegistered
      A uses port was registered. The detail string is of form FID CID CN uport.
      See Also:
    • PortRegistered_string

      static final String PortRegistered_string
      See Also:
    • PortUnregisterPending

      static final int PortUnregisterPending
      A uses port is about to be unregistered. The detail string is of form FID CID CN uport.
      See Also:
    • PortUnregisterPending_string

      static final String PortUnregisterPending_string
      See Also:
    • PortUnregistered

      static final int PortUnregistered
      A uses port has been unregistered. The detail string is of form FID CID CN uport.
      See Also:
    • PortUnregistered_string

      static final String PortUnregistered_string
      See Also:
    • PortFetchPending

      static final int PortFetchPending
      A port is about to be fetched for use with getPort. The detail string is of form FID CID CN uport.
      See Also:
    • PortFetchPending_string

      static final String PortFetchPending_string
      See Also:
    • PortFetched

      static final int PortFetched
      A port has been fetched with getPort. The detail string is of form FID CID CN uport.
      See Also:
    • PortFetched_string

      static final String PortFetched_string
      See Also:
    • PortReleasePending

      static final int PortReleasePending
      A port is about to be released from use with releasePort. The detail string is of form FID CID CN uport.
      See Also:
    • PortReleasePending_string

      static final String PortReleasePending_string
      See Also:
    • PortReleased

      static final int PortReleased
      A port has been released with releasePort. The detail string is of form FID CID CN uport.
      See Also:
    • PortReleased_string

      static final String PortReleased_string
      See Also:
    • FactoryOpened

      static final int FactoryOpened
      A factory is now available. The detail string is of form FID CID CN.
      See Also:
    • FactoryOpened_string

      static final String FactoryOpened_string
      See Also:
    • FactoryClosed

      static final int FactoryClosed
      A 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

      static final String FactoryClosed_string
      See Also: