cpw.mods.fml.common.network.simpleimpl

## Class MessageContext

- java.lang.Object
- - cpw.mods.fml.common.network.simpleimpl.MessageContext

-     public class MessageContext
      extends java.lang.Object

  Context for the `IMessageHandler`

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `INetHandler` | `netHandler` The `INetHandler` for this message.
    `Side` | `side` The Side this message has been received on

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `NetHandlerPlayClient` | `getClientHandler()`
    `NetHandlerPlayServer` | `getServerHandler()`

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

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

- - ### Field Detail

    - #### netHandler

          public final INetHandler netHandler

      The `INetHandler` for this message. It could be a client or server handler, depending on the `side` recieved.

    - #### side

          public final Side side

      The Side this message has been received on

  - ### Method Detail

    - #### getServerHandler

          public NetHandlerPlayServer getServerHandler()

    - #### getClientHandler

          public NetHandlerPlayClient getClientHandler()