public interface ControllerMx
This interface provides for:
OpenflowListener
s
RegistrationListener
to be notified when
OpenflowListener
s are added to or removed from the
controller
TxRxControl
from which
the recording of transmitted and received
OpenFlow messages can be enabled.
Modifier and Type | Method and Description |
---|---|
void |
clearRegistrationListener(RegistrationListener listener)
Clears the registration listener from the controller.
|
Set<DataPathDetails> |
getAllDataPathDetails()
Returns detailed information describing each of the OpenFlow
datapaths connected to the controller, including information about
auxiliary connections.
|
Set<OpenflowListener<?>> |
getAllListeners()
Returns the set of all currently registered
OpenflowListener s. |
DataPathDetails |
getDataPathDetails(DataPathId dpid)
Returns detailed information describing a specific OpenFlow
datapath, including information about its auxiliary connections.
|
int |
getOpenflowListenPort()
Returns the configured Open Flow port
|
TxRxControl |
getTxRxControl()
Returns a reference to the TX/RX message queue control.
|
void |
setRegistrationListener(RegistrationListener listener)
Sets the specified registration listener on the controller.
|
void |
startIOProcessing()
Starts the controller IO Processing loop.
|
void |
stopIOProcessing()
Stops the controller IO Processing loop.
|
void |
stopIOProcessing(DataPathId dpid)
Stops all IO processing for the specified datapath.
|
Set<OpenflowListener<?>> getAllListeners()
OpenflowListener
s.void setRegistrationListener(RegistrationListener listener)
listener
- the listener to be setNullPointerException
- if listener is nullIllegalStateException
- if a listener is already setvoid clearRegistrationListener(RegistrationListener listener)
listener
- the listener to be clearedNullPointerException
- if listener is nullTxRxControl getTxRxControl()
Set<DataPathDetails> getAllDataPathDetails()
DataPathDetails getDataPathDetails(DataPathId dpid)
dpid
- the datapath idNullPointerException
- if dpid is nullvoid startIOProcessing()
void stopIOProcessing()
void stopIOProcessing(DataPathId dpid)
dpid
- the datapath IDint getOpenflowListenPort()
Copyright © 2015. All Rights Reserved.