com.isomorphic.messaging

## Class ISCSubscriber

- java.lang.Object
- - com.isomorphic.messaging.ISCSubscriber

- All Implemented Interfaces:
    ISubscriber

      public class ISCSubscriber
      extends java.lang.Object
      implements ISubscriber

  Simple concrete implementation of ISubscriber. `ISCSubscriber.send(com.isomorphic.messaging.ISCMessage)` adds message to a queue and `ISCSubscriber.nextMessage(long)` retrieves them.

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ISCMessage` | `nextMessage(long timeout)` retrieves a message from queue
    `void` | `send(ISCMessage message)` adds message to a queue

- - ### Method Detail

    - #### send

          public void send(ISCMessage message)
                    throws java.lang.Exception

      adds message to a queue
      Parameters:
        `message` - the message to send
      Throws:
        `java.lang.Exception`

    - #### nextMessage

          public ISCMessage nextMessage(long timeout)
                                 throws java.lang.Exception

      retrieves a message from queue
      Parameters:
        `timeout` - time to wait for the message to be retrieved
      Returns:
        ISCMessage the message retrieved
      Throws:
        `java.lang.Exception`