public class NCReceiverImpl extends ComponentImplBase implements AcsEventSubscriber.Callback<temperatureDataBlockEvent>
m_containerServices, m_instanceName, m_logger| Constructor and Description |
|---|
NCReceiverImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<temperatureDataBlockEvent> |
getEventType()
This method is needed for adding event-specific subscriptions
and for the type-safety of this API (based on java generics),
and should be implemented like
|
void |
initialize(ContainerServices containerServices)
Subclass must call
super.initialize(containerServices)
unless it overrides as well all other methods which access the member vars of this class. |
void |
receive(temperatureDataBlockEvent joe,
EventDescription desc)
Event delivery, from the framework to user code.
|
aboutToAbort, cleanUp, componentState, execute, namepublic void initialize(ContainerServices containerServices) throws ComponentLifecycleException
ComponentImplBasesuper.initialize(containerServices)
unless it overrides as well all other methods which access the member vars of this class.initialize in interface ComponentLifecycleinitialize in class ComponentImplBasecontainerServices - callback object for services provided by the containerComponentLifecycleExceptionComponentLifecycle.initialize(ContainerServices)public void receive(temperatureDataBlockEvent joe,
EventDescription desc)
AcsEventSubscriber.Callbackreceive in interface AcsEventSubscriber.Callback<temperatureDataBlockEvent>joe - The event data, e.g. an IDL-defined struct.desc - Event meta data.public java.lang.Class<temperatureDataBlockEvent> getEventType()
AcsEventSubscriber.Callback
public Class<MyEvent> getEventType() {
return MyEvent.class;
}
getEventType in interface AcsEventSubscriber.Callback<temperatureDataBlockEvent>