public interface MessageEvent extends OpenflowEvent
These events are consumed by MessageListeners who wish to be
notified when OpenFlow messages arrive at the controller.
The event types associated with this event are:
OpenflowEventType.MESSAGE_RX OpenflowEventType.MESSAGE_TX OpenflowEventType.DROPPED_EVENTS_CHECKPOINT
Note that the MESSAGE_TX event type will never be seen by a
message listener; however, the management interface allows the recording
of messages both transmitted and received by the controller, and the
corresponding list of message events will contain both TX and
RX types.
| Modifier and Type | Method and Description |
|---|---|
int |
auxId()
Returns the ID of the auxiliary channel.
|
DataPathId |
dpid()
Returns the ID of the datapath associated with this event.
|
OpenflowMessage |
msg()
Returns the OpenFlow message associated with this event.
|
ProtocolVersion |
negotiated()
Returns the protocol version negotiated between the controller and
the associated datapath.
|
String |
remoteId()
Returns an identifier for the remote end of the connection for this
event.
|
void |
setDpid(DataPathId dpid)
set the ID of the datapath with new datapath ID.
|
ts, typeOpenflowMessage msg()
DataPathId dpid()
int auxId()
ProtocolVersion negotiated()
String remoteId()
void setDpid(DataPathId dpid)
Copyright © 2014. All Rights Reserved.