com.h3c.of.ctl

## Interface OpenflowListener<E extends OpenflowEvent>

- Type Parameters:
    `E` - the event type
  All Known Subinterfaces:
    DataPathListener, MessageListener, RegistrationListener

      public interface OpenflowListener<E extends OpenflowEvent>

  The super-interface for listeners interested in hearing about OpenFlow Controller events.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `event(E event)` This callback is invoked by the listener's dedicated queue-reader thread every time it pulls an event off the queue.
    `void` | `queueEvent(QueueEvent event)` This callback is invoked by the controller if the listener's event queue is nearing, or has exceeded its capacity, or if the queue has been drained below the associated "reset" levels.

- - ### Method Detail

    - #### queueEvent

          void queueEvent(QueueEvent event)

      This callback is invoked by the controller if the listener's event queue is nearing, or has exceeded its capacity, or if the queue has been drained below the associated "reset" levels.
      Parameters:
        `event` - the queue event

    - #### event

          void event(E event)

      This callback is invoked by the listener's dedicated queue-reader thread every time it pulls an event off the queue.
      Parameters:
        `event` - the event

Copyright © 2014. All Rights Reserved.