|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.core.contexts.ghn.GHNConsumer
public class GHNConsumer
Base implementation of a GCUBEConsumer of GHNEvents.
| Constructor Summary | |
|---|---|
GHNConsumer()
|
|
| Method Summary | ||
|---|---|---|
|
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. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GHNConsumer()
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||