PLUGINCONTEXT - the type of of plugin context.public static class GCUBEPluginManager.PluginConsumer<PLUGINCONTEXT extends GCUBEPluginContext> extends Object implements GCUBEConsumer<GCUBEPluginManager.PluginTopic,PLUGINCONTEXT>
| Constructor and Description |
|---|
GCUBEPluginManager.PluginConsumer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onDeregistration(GCUBEEvent<? extends GCUBEPluginManager.PluginTopic,? extends PLUGINCONTEXT> event)
Callback for a deregistration event.
|
<T1 extends GCUBEPluginManager.PluginTopic,P1 extends PLUGINCONTEXT> |
onEvent(GCUBEEvent<T1,P1>... events)
Notifies the consumer of one of more events about topics for which the consumer
has previously subscribed with a
GCUBEProducer |
protected void |
onRegistration(GCUBEEvent<? extends GCUBEPluginManager.PluginTopic,? extends PLUGINCONTEXT> event)
Callback for a registration event.
|
public <T1 extends GCUBEPluginManager.PluginTopic,P1 extends PLUGINCONTEXT> void onEvent(GCUBEEvent<T1,P1>... events)
GCUBEProduceronEvent in interface GCUBEConsumer<GCUBEPluginManager.PluginTopic,PLUGINCONTEXT extends GCUBEPluginContext>T1 - the topic type.P1 - the payload type.events - the events.protected void onRegistration(GCUBEEvent<? extends GCUBEPluginManager.PluginTopic,? extends PLUGINCONTEXT> event)
event - the event.protected void onDeregistration(GCUBEEvent<? extends GCUBEPluginManager.PluginTopic,? extends PLUGINCONTEXT> event)
event - the event.Copyright © 2015. All Rights Reserved.