com.h3c.sdn.trace

## Class MessageEventWrapper

- java.lang.Object
- - com.h3c.sdn.trace.MessageEventWrapper

-     public class MessageEventWrapper
      extends Object

  Wraps a `MessageEvent` with a unique identification value.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MessageEventWrapper(long wrapId, MessageEvent me)` Wraps an id value around a message event.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `MessageEvent` | `event()` Returns the wrapped message event.
    `long` | `id()` Returns the id for this wrapped message event.

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

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

- - ### Constructor Detail

    - #### MessageEventWrapper

          public MessageEventWrapper(long wrapId,
                             MessageEvent me)

      Wraps an id value around a message event.
      Parameters:
        `wrapId` - the id to associate with the message event
        `me` - the message event

  - ### Method Detail

    - #### id

          public long id()

      Returns the id for this wrapped message event.
      Returns:
        the id

    - #### event

          public MessageEvent event()

      Returns the wrapped message event.
      Returns:
        the message event

Copyright © 2014. All Rights Reserved.