public static class ISLocalPublisher.LocalProfileConsumer extends Object implements GCUBEConsumer<ISLocalPublisher.LocalProfileTopic,Object>
GCUBEConsumer of ISLocalPublisher.LocalProfileEvent.| Constructor and Description |
|---|
ISLocalPublisher.LocalProfileConsumer() |
| Modifier and Type | Method and Description |
|---|---|
<T extends ISLocalPublisher.LocalProfileTopic,P> |
onEvent(GCUBEEvent<T,P>... events)
Notifies the consumer of one of more events about topics for which the consumer
has previously subscribed with a
GCUBEProducer |
protected void |
onProfileRegistered(GCUBEResource resource,
GCUBEScope scope)
registered profile event callback.
|
protected void |
onProfileRemoved(String resourceID,
String type,
GCUBEScope scope)
removed profile event callback.
|
protected void |
onProfileUpdated(GCUBEResource resource,
GCUBEScope scope)
updated profile event callback.
|
public ISLocalPublisher.LocalProfileConsumer()
public <T extends ISLocalPublisher.LocalProfileTopic,P> void onEvent(GCUBEEvent<T,P>... events)
GCUBEConsumerGCUBEProduceronEvent in interface GCUBEConsumer<ISLocalPublisher.LocalProfileTopic,Object>T - the topic type.P - the payload type.events - the events.protected void onProfileRemoved(String resourceID, String type, GCUBEScope scope)
resourceID - the identifier of the removed GCUBEResourcetype - the type of the GCUBEResourcescope - the publishing scopeprotected void onProfileUpdated(GCUBEResource resource, GCUBEScope scope)
resource - the updated GCUBEResourcescope - the publishing scopeprotected void onProfileRegistered(GCUBEResource resource, GCUBEScope scope)
resource - the registered GCUBEResourcescope - the publishing scopeCopyright © 2015. All Rights Reserved.