Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addConnectionEventListener(int, ConnectionEventListener) - Method in interface gov.cca.ports.ConnectionEventService
-
Sign up to be told about connection activity.
- addProvidesPort(Port, PortInfo) - Method in interface gov.cca.Services
-
Exports a Port implemented by this component to the framework.
- ALL - Static variable in interface gov.cca.ports.StandardEventType
-
The enumerated value type for a listener to indicate it wants all notices.
- ALL_string - Static variable in interface gov.cca.ports.StandardEventType
C
- Component - Interface in gov.cca
-
The CCA object model: the interface that all CCA components must implement.
- ComponentAdded - Static variable in interface gov.cca.ports.StandardEventType
-
A component newly created.
- ComponentAdded_string - Static variable in interface gov.cca.ports.StandardEventType
- ComponentAddPending - Static variable in interface gov.cca.ports.StandardEventType
-
A component creation requested.
- ComponentAddPending_string - Static variable in interface gov.cca.ports.StandardEventType
- ComponentDeleted - Static variable in interface gov.cca.ports.StandardEventType
-
A component deletion completed.
- ComponentDeleted_string - Static variable in interface gov.cca.ports.StandardEventType
- ComponentDeletePending - Static variable in interface gov.cca.ports.StandardEventType
-
A component deletion requested.
- ComponentDeletePending_string - Static variable in interface gov.cca.ports.StandardEventType
- ComponentID - Interface in gov.cca
-
An opaque reference to a CCA component.
- Connected - Static variable in interface gov.cca.ports.StandardEventType
-
A connection recently made.
- Connected_string - Static variable in interface gov.cca.ports.StandardEventType
- connectionActivity(ConnectionEvent) - Method in interface gov.cca.ports.ConnectionEventListener
-
Delivered to listeners when a connection is made or broken.
- ConnectionEvent - Interface in gov.cca.ports
-
Base event interface components wishing to know about their connectedness (used or provided ports) must listen for.
- ConnectionEventListener - Interface in gov.cca.ports
-
This is the interface that a component must provide in order to be notified of ConnectionEvents.
- ConnectionEventService - Interface in gov.cca.ports
-
A service to alert a component as when connections are made or broken; it is reasonable to expect this service to be immediately available and fetchable during a setServices call.
- ConnectionInfo - Interface in gov.cca
-
This interface abstracts the information needed to understand the topology and status of a connection within the local context.
- ConnectPending - Static variable in interface gov.cca.ports.StandardEventType
-
A connection may soon be made.
- ConnectPending_string - Static variable in interface gov.cca.ports.StandardEventType
- createPortInfo(String, String, String[]) - Method in interface gov.cca.Services
-
Creates a PortInfo to be used in subsequent calls to describe a Port.
D
- Disconnected - Static variable in interface gov.cca.ports.StandardEventType
-
A connection recently unmade.
- Disconnected_string - Static variable in interface gov.cca.ports.StandardEventType
- DisconnectPending - Static variable in interface gov.cca.ports.StandardEventType
-
A connection may soon be unmade.
- DisconnectPending_string - Static variable in interface gov.cca.ports.StandardEventType
E
- e(String) - Method in interface gov.cca.ports.PrintfPort
-
Output a string on err device
- en(String) - Method in interface gov.cca.ports.PrintfPort
-
Output a string on err device with added \n
- Error - Static variable in interface gov.cca.ports.StandardEventType
-
Somebody lost their cookies.
- Error_string - Static variable in interface gov.cca.ports.StandardEventType
F
- FactoryClosed - Static variable in interface gov.cca.ports.StandardEventType
-
A factory is no longer available for more creations.
- FactoryClosed_string - Static variable in interface gov.cca.ports.StandardEventType
- FactoryOpened - Static variable in interface gov.cca.ports.StandardEventType
-
A factory is now available.
- FactoryOpened_string - Static variable in interface gov.cca.ports.StandardEventType
- fireConnectionEvent(ConnectionEvent) - Method in interface gov.cca.ports.FrameworkConnectionEventService
-
Issue an event to all listeners registered for it.
- FrameworkConnectionEventService - Interface in gov.cca.ports
-
A service to issue connection events (assumed scope is the component from whose Services interface the FrameworkConnectionEventService is fetched.
G
- getClassName() - Method in interface gov.cca.ComponentID
-
Produce the name of the class of this component as known in its container.
- getComponentID() - Method in interface gov.cca.Services
-
Get a reference interface for the component to which this Services object belongs.
- getEventType() - Method in interface gov.cca.ports.ConnectionEvent
-
Returns the integer from those defined that describes the event.
- getGlobalName() - Method in interface gov.cca.ComponentID
-
Produce the name of the component instance dot qualified to the outermost accessible CCA framework scope.
- getKeys() - Method in interface gov.cca.ports.KeyValuePort
-
Return enumeration of all known keys.
- getLocalName() - Method in interface gov.cca.ComponentID
-
Produce the name within the immediate container scope of this component.
- getName() - Method in interface gov.cca.PortInfo
-
Returns the instance name for this Port.
- getPort(String) - Method in interface gov.cca.Services
-
Fetch a previously registered Port (defined by either addProvide or registerUses).
- getPortInfo() - Method in interface gov.cca.ports.ConnectionEvent
-
Get the PortInfo of the affected Port.
- getPortNonblocking(String) - Method in interface gov.cca.Services
-
Fetch a previously registered Port (defined by either addProvide or registerUses) and return that Port if it is available immediately or return null otherwise.
- getProperty(String) - Method in interface gov.cca.PortInfo
-
Fetch the value corresponding to propertyKey.
- getProvidedPorts() - Method in interface gov.cca.Services
-
UNADOPTED: Return the Ports this component currently provides.
- getProvider() - Method in interface gov.cca.ConnectionInfo
- getProviderPortName() - Method in interface gov.cca.ConnectionInfo
- getRegisteredPorts() - Method in interface gov.cca.Services
-
UNADOPTED: Return the Ports this component currently wants.
- getTime() - Method in interface gov.cca.eg.port.TimeProducerPort
-
Fetch the time.
- getType() - Method in interface gov.cca.PortInfo
-
Returns the type of the Port referred to by this PortInfo: corresponds to the class name for this Port.
- getUser() - Method in interface gov.cca.ConnectionInfo
- getUserPortName() - Method in interface gov.cca.ConnectionInfo
- getValue(String) - Method in interface gov.cca.ports.KeyValuePort
-
Return the value of the requested key.
- go() - Method in interface gov.cca.ports.GoPort
-
Make the component do its thing.
- GoPort - Interface in gov.cca.ports
-
A do-it port.
- gov.cca - package gov.cca
- gov.cca.eg.component - package gov.cca.eg.component
- gov.cca.eg.port - package gov.cca.eg.port
- gov.cca.ports - package gov.cca.ports
I
- isInUse() - Method in interface gov.cca.ConnectionInfo
K
- KeyValuePort - Interface in gov.cca.ports
-
KeyValuePort for use decorating components with strings external to the implementation of the component.
L
- l(String) - Method in interface gov.cca.ports.PrintfPort
-
Output a string on log device
- ln(String) - Method in interface gov.cca.ports.PrintfPort
-
Output a string on log device with added \n
N
- NONE - Static variable in interface gov.cca.ports.StandardEventType
-
When digesting an alleged string or int type, it was found not to be in the standard.
- NONE_string - Static variable in interface gov.cca.ports.StandardEventType
P
- p(String) - Method in interface gov.cca.ports.PrintfPort
-
Output a string on out device
- pn(String) - Method in interface gov.cca.ports.PrintfPort
-
Output a string on out device with added \n
- Port - Interface in gov.cca
-
A tag interface to identify an interface capable of being exported to or imported from a CCA component.
- PortAdded - Static variable in interface gov.cca.ports.StandardEventType
-
A provides port was added and is available.
- PortAdded_string - Static variable in interface gov.cca.ports.StandardEventType
- PortAddPending - Static variable in interface gov.cca.ports.StandardEventType
-
A provides port is being added (but not yet available).
- PortAddPending_string - Static variable in interface gov.cca.ports.StandardEventType
- PortFetched - Static variable in interface gov.cca.ports.StandardEventType
-
A port has been fetched with getPort.
- PortFetched_string - Static variable in interface gov.cca.ports.StandardEventType
- PortFetchPending - Static variable in interface gov.cca.ports.StandardEventType
-
A port is about to be fetched for use with getPort.
- PortFetchPending_string - Static variable in interface gov.cca.ports.StandardEventType
- PortInfo - Interface in gov.cca
-
An interface that describes a Port.
- PortRegistered - Static variable in interface gov.cca.ports.StandardEventType
-
A uses port was registered.
- PortRegistered_string - Static variable in interface gov.cca.ports.StandardEventType
- PortRegisterPending - Static variable in interface gov.cca.ports.StandardEventType
-
A uses port is about to be registered.
- PortRegisterPending_string - Static variable in interface gov.cca.ports.StandardEventType
- PortReleased - Static variable in interface gov.cca.ports.StandardEventType
-
A port has been released with releasePort.
- PortReleased_string - Static variable in interface gov.cca.ports.StandardEventType
- PortReleasePending - Static variable in interface gov.cca.ports.StandardEventType
-
A port is about to be released from use with releasePort.
- PortReleasePending_string - Static variable in interface gov.cca.ports.StandardEventType
- PortRemoved - Static variable in interface gov.cca.ports.StandardEventType
-
A provides port has been removed and is no longer available.
- PortRemoved_string - Static variable in interface gov.cca.ports.StandardEventType
- PortRemovePending - Static variable in interface gov.cca.ports.StandardEventType
-
A provides port is being removed, but is still available.
- PortRemovePending_string - Static variable in interface gov.cca.ports.StandardEventType
- PortUnregistered - Static variable in interface gov.cca.ports.StandardEventType
-
A uses port has been unregistered.
- PortUnregistered_string - Static variable in interface gov.cca.ports.StandardEventType
- PortUnregisterPending - Static variable in interface gov.cca.ports.StandardEventType
-
A uses port is about to be unregistered.
- PortUnregisterPending_string - Static variable in interface gov.cca.ports.StandardEventType
- PrintfPort - Interface in gov.cca.ports
-
PrintfPort for use in building components.
R
- registerUsesPort(PortInfo) - Method in interface gov.cca.Services
-
Register a request for a Port that will be retrieved subsequently with a call to getPort().
- releasePort(String) - Method in interface gov.cca.Services
-
Notifies the framework that this component is finished using this previously fetched Port.
- remove(String) - Method in interface gov.cca.ports.KeyValuePort
-
Delete a key and associated value.
- removeConnectionEventListener(int, ConnectionEventListener) - Method in interface gov.cca.ports.ConnectionEventService
-
Ignore future ConnectionEvents of the given type.
- removeProvidesPort(String) - Method in interface gov.cca.Services
-
Notifies the framework that a previously exported Port is no longer available for use.
S
- Services - Interface in gov.cca
-
This is the framework/container services interface, through which the component accesses the framework and (indirectly) other components.
- setServices(Services) - Method in interface gov.cca.Component
-
Obtain Services handle, through which the component and framework communicate.
- setServices(Services) - Method in class gov.cca.eg.component.TimeStamper
-
Services implementation: this is the one and only method that makes this component a CCAComponent.
- setString(String) - Method in class gov.cca.eg.component.TimeStamper
-
Implements the StringConsumerPort: takes a given string Stamps it with the time and shoves it out the UsesPort "out0".
- setString(String) - Method in interface gov.cca.eg.port.StringConsumerPort
-
Set a String.
- setValue(String, String) - Method in interface gov.cca.ports.KeyValuePort
-
Store the value for the given key, possibly replacing previous.
- StandardEventType - Interface in gov.cca.ports
-
Mapping of standard event types in the component lifecycle to strings and integers.
- StringConsumerPort - Interface in gov.cca.eg.port
-
A generic interface for handing off a String.
T
- TimeProducerPort - Interface in gov.cca.eg.port
-
Produces the current time in the form of a String.
- TimeStamper - Class in gov.cca.eg.component
-
A CCA component that implements and provides StringConsumerPort, and uses a StringConsumerPort.
- TimeStamper() - Constructor for class gov.cca.eg.component.TimeStamper
-
CCA Component must have a null constructor.
- toString() - Method in interface gov.cca.ComponentID
-
Produce a string that uniquely defines this component reference within all possible frameworks.
U
- unregisterUsesPort(String) - Method in interface gov.cca.Services
-
Notify the framework that a Port, previously registered by this component, is no longer desired.
All Classes and Interfaces|All Packages|Constant Field Values