| Package | Description |
|---|---|
| com.h3c.of.ctl |
Public API for the OpenFlow Controller.
|
| com.h3c.of.ctl.pkt |
Public API for the OpenFlow Packet Sequencer and participating
Packet Listeners.
|
| Modifier and Type | Method and Description |
|---|---|
List<SequencedPacketListener> |
ControllerService.getPacketListeners(PacketListenerRole role)
Returns an ordered list of packet listeners registered with the
packet sequencer, for the specified role.
|
List<SequencedPacketListener> |
ControllerServiceAdapter.getPacketListeners(PacketListenerRole role) |
| Modifier and Type | Method and Description |
|---|---|
void |
ControllerService.addPacketListener(SequencedPacketListener listener,
PacketListenerRole role,
int altitude)
Adds the specified packet listener to the packet sequencer, in the
specified role and at the specified altitude.
|
void |
ControllerServiceAdapter.addPacketListener(SequencedPacketListener listener,
PacketListenerRole role,
int altitude) |
void |
ControllerService.addPacketListener(SequencedPacketListener listener,
PacketListenerRole role,
int altitude,
Set<ProtocolId> interest)
Adds the specified packet listener to the sequencer, in the
specified role and at the specified altitude.
|
void |
ControllerServiceAdapter.addPacketListener(SequencedPacketListener listener,
PacketListenerRole role,
int altitude,
Set<ProtocolId> interest) |
void |
ControllerService.removePacketListener(SequencedPacketListener listener)
Removes the specified packet listener from the packet sequencer.
|
void |
ControllerServiceAdapter.removePacketListener(SequencedPacketListener listener) |
| Modifier and Type | Class and Description |
|---|---|
class |
SequencedPacketAdapter
An adapter for
SequencedPacketListener that provides default
implementations of the event methods. |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends SequencedPacketListener> |
HandlerHint.getHandlerClass()
Returns the class of the packet listener associated with this hint.
|
Map<SequencedPacketListener,Long> |
PacketSequencer.getListenerMetrics()
Returns a set of metrics representing the average processing time
of each listener implementation.
|
List<SequencedPacketListener> |
PacketSequencer.getListeners(PacketListenerRole role)
Returns an ordered list of packet listeners for the specified role.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PacketSequencer.addPacketListener(SequencedPacketListener listener,
PacketListenerRole role,
int altitude)
Adds the specified packet listener to the sequencer, in the
specified role and at the specified altitude.
|
void |
PacketSequencer.addPacketListener(SequencedPacketListener listener,
PacketListenerRole role,
int altitude,
Set<ProtocolId> interest)
Adds the specified packet listener to the sequencer, in the
specified role and at the specified altitude.
|
void |
PacketSequencer.removePacketListener(SequencedPacketListener listener)
Removes the specified packet listener from the sequencer.
|
| Modifier and Type | Method and Description |
|---|---|
static Hint |
HintFactory.createHint(HintType type,
Class<? extends SequencedPacketListener> cls)
Creates a hint that describes the implementing class of a packet
listener.
|
| Constructor and Description |
|---|
HandlerHint(Class<? extends SequencedPacketListener> handlerCls)
Constructs the HANDLER hint.
|
Copyright © 2014. All Rights Reserved.