com.h3c.of.ctl.pkt

## Class HandlerHint

- java.lang.Object
- - com.h3c.of.ctl.pkt.AbstractHint
  - - com.h3c.of.ctl.pkt.HandlerHint

- All Implemented Interfaces:
    Hint

      public class HandlerHint
      extends AbstractHint

  Represents a hint that names the implementing class of the `SequencedPacketListener` that declared to the `PacketSequencer` that the Packet-In message was "handled".

  The type of this hint is `HintType.HANDLER`.

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `HandlerHint(Class<? extends SequencedPacketListener> handlerCls)` Constructs the HANDLER hint.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Class<? extends SequencedPacketListener>` | `getHandlerClass()` Returns the class of the packet listener associated with this hint.
    `String` | `toString()`

    - ### Methods inherited from class com.h3c.of.ctl.pkt.AbstractHint

      `getEncodedType, getType`

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

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

- - ### Constructor Detail

    - #### HandlerHint

          protected HandlerHint(Class<? extends SequencedPacketListener> handlerCls)

      Constructs the HANDLER hint.
      Parameters:
        `handlerCls` - the class of the handler

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `AbstractHint`

    - #### getHandlerClass

          public Class<? extends SequencedPacketListener> getHandlerClass()

      Returns the class of the packet listener associated with this hint.
      Returns:
        the class of the "handler"

Copyright © 2014. All Rights Reserved.