public class GHNConsumer extends Object implements GCUBEConsumer<Events.GHNTopic,Object>
GCUBEConsumer of GHNEvents.| Constructor and Description |
|---|
GHNConsumer() |
| Modifier and Type | Method and Description |
|---|---|
<T1 extends Events.GHNTopic,P1> |
onEvent(GCUBEEvent<T1,P1>... events)
Receives RI lifetime events and dispatches them to topic-specific callbacks.
|
protected void |
onGHNReady(Events.GHNLifeTimeEvent event)
Ready event callback.
|
protected void |
onGHNShutdown(Events.GHNLifeTimeEvent event)
Shutdown event callback.
|
protected void |
onGHNUpdated(Events.GHNLifeTimeEvent event)
Update event callback.
|
protected void |
onRIRegistration(Events.GHNRIRegistrationEvent event)
RIRegistration event callback.
|
public <T1 extends Events.GHNTopic,P1> void onEvent(GCUBEEvent<T1,P1>... events)
onEvent in interface GCUBEConsumer<Events.GHNTopic,Object>T1 - the topic type.P1 - the payload type.events - the events.protected void onRIRegistration(Events.GHNRIRegistrationEvent event)
event - the event.protected void onGHNUpdated(Events.GHNLifeTimeEvent event)
event - the event.protected void onGHNShutdown(Events.GHNLifeTimeEvent event)
event - the event.protected void onGHNReady(Events.GHNLifeTimeEvent event)
event - the event.Copyright © 2015. All Rights Reserved.