org.gcube.messaging.common.consumer
Class MessageChecker<MESSAGE extends org.gcube.common.core.monitoring.GCUBEMessage>
java.lang.Object
org.gcube.messaging.common.consumer.MessageChecker<MESSAGE>
- Type Parameters:
MESSAGE -
- Direct Known Subclasses:
- GHNMessageChecker, NodeAccountingMessageChecker, PortalAccountingMessageChecker, RIMessageChecker, SystemAccountingMessageChecker
public abstract class MessageChecker<MESSAGE extends org.gcube.common.core.monitoring.GCUBEMessage>
- extends Object
- Author:
- Andrea Manzi(CERN)
|
Field Summary |
protected org.gcube.common.core.scope.GCUBEScope |
scope
|
|
Constructor Summary |
MessageChecker(org.gcube.common.core.scope.GCUBEScope scope)
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
MessageChecker
public MessageChecker(org.gcube.common.core.scope.GCUBEScope scope)
- 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.