com.tibbo.aggregate.common.communication

## Class ReplyMonitor<C extends Command,R extends Command>

- java.lang.Object
- - com.tibbo.aggregate.common.communication.ReplyMonitor<C,R>

-     public class ReplyMonitor<C extends Command,R extends Command>
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ReplyMonitor(C command)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `C` | `getCommand()`
    `R` | `getReply()`
    `long` | `getStartTime()`
    `long` | `getTime()`
    `void` | `reset()`
    `void` | `setReply(R reply)`
    `void` | `terminate()`
    `java.lang.String` | `toString()`
    `boolean` | `waitReply(long timeout)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ReplyMonitor

          public ReplyMonitor(C command)

  - ### Method Detail

    - #### getCommand

          public C getCommand()

    - #### getReply

          public R getReply()

    - #### setReply

          public void setReply(R reply)

    - #### terminate

          public void terminate()

    - #### reset

          public void reset()

    - #### waitReply

          public boolean waitReply(long timeout)
                            throws java.lang.InterruptedException

      Throws:
        `java.lang.InterruptedException`

    - #### getTime

          public long getTime()

    - #### getStartTime

          public long getStartTime()

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`