org.gcube.common.core.contexts.ghn
Class CredentialRequestConsumer

java.lang.Object
  extended by org.gcube.common.core.contexts.ghn.CredentialRequestConsumer
All Implemented Interfaces:
GCUBEConsumer<Events.SecurityTopic,Object>

public abstract class CredentialRequestConsumer
extends Object
implements GCUBEConsumer<Events.SecurityTopic,Object>

Base implementation of a GCUBEConsumer of GHNEvents.

Author:
Fabio Simeoni (University of Strathclyde)

Constructor Summary
CredentialRequestConsumer()
           
 
Method Summary
protected abstract  void onCredentialRequest(Events.CredentialRequestEvent event)
          Activation event callback.
<T1 extends Events.SecurityTopic,P1>
void
onEvent(GCUBEEvent<T1,P1>... events)
          Receives RI lifetime events and dispatches them to topic-specific callbacks.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CredentialRequestConsumer

public CredentialRequestConsumer()
Method Detail

onEvent

public <T1 extends Events.SecurityTopic,P1> void onEvent(GCUBEEvent<T1,P1>... events)
Receives RI lifetime events and dispatches them to topic-specific callbacks.

Specified by:
onEvent in interface GCUBEConsumer<Events.SecurityTopic,Object>
Type Parameters:
T1 - the topic type.
P1 - the payload type.
Parameters:
events - the events.

onCredentialRequest

protected abstract void onCredentialRequest(Events.CredentialRequestEvent event)
Activation event callback.

Parameters:
event - the event.


Copyright © 2013. All Rights Reserved.