MessageChecker (consumer-service 1.9.2-3.5.0 API)
Date: 2014-11-12

org.gcube.messaging.common.consumer

## Class MessageChecker<MESSAGE extends org.gcube.messaging.common.messages.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.messaging.common.messages.GCUBEMessage>
      extends Object

  Author:
    Andrea Manzi(CERN)

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected org.gcube.common.core.scope.GCUBEScope` | `scope`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MessageChecker(org.gcube.common.core.scope.GCUBEScope scope)` create a messageChecker for the given scope

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`

- - ### Field Detail

    - #### scope

          protected org.gcube.common.core.scope.GCUBEScope scope

  - ### Constructor Detail

    - #### MessageChecker

          public MessageChecker(org.gcube.common.core.scope.GCUBEScope scope)

      create a messageChecker for the given scope
      Parameters:
        `scope` - the scope

  - ### Method Detail

    - #### check

          public abstract void check(MESSAGE msg)
                              throws Exception

      Check the incoming message
      Parameters:
        `msg` - the message
      Throws:
        `Exception` - exception

Copyright © 2014. All Rights Reserved.