org.gcube.datatransfer.common.messaging
Class MessageChecker<MESSAGE extends org.gcube.common.core.monitoring.GCUBEMessage>
java.lang.Object
org.gcube.datatransfer.common.messaging.MessageChecker<MESSAGE>
- Type Parameters:
MESSAGE -
public abstract class MessageChecker<MESSAGE extends org.gcube.common.core.monitoring.GCUBEMessage>
- extends Object
- Author:
- Andrea Manzi(CERN)
|
Constructor Summary |
MessageChecker(org.gcube.common.core.scope.GCUBEScope scope,
String subscriberEndpoint)
create a messageChecker for the given scope |
|
Method Summary |
abstract void |
check(MESSAGE msg)
Check the incoming message |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scope
protected org.gcube.common.core.scope.GCUBEScope scope
subscriberEndpoint
protected String subscriberEndpoint
MessageChecker
public MessageChecker(org.gcube.common.core.scope.GCUBEScope scope,
String subscriberEndpoint)
- create a messageChecker for the given scope
- Parameters:
scope - the scope
check
public abstract void check(MESSAGE msg)
throws Exception
- Check the incoming message
- Parameters:
msg - the message
- Throws:
Exception - exception
Copyright © 2013. All Rights Reserved.