Interface ConnectionManager
- All Superinterfaces:
AutoCloseable,SwitchConnectionHandler
- All Known Implementing Classes:
ConnectionManagerImpl
Connection manager manages connections with devices.
It instantiates and registers
ConnectionContext
used for handling all communication with device when onSwitchConnected notification is processed.-
Method Summary
Modifier and TypeMethodDescriptionvoidsetDeviceConnectedHandler(DeviceConnectedHandler deviceConnectedHandler) Method registers handler responsible handling operations related to connected device after device is connected.voidsetDeviceDisconnectedHandler(DeviceDisconnectedHandler deviceDisconnectedHandler) Method registers handler responsible handling device disconnected event.Methods inherited from interface java.lang.AutoCloseable
closeMethods inherited from interface org.opendaylight.openflowjava.protocol.api.connection.SwitchConnectionHandler
accept, onSwitchConnected
-
Method Details
-
setDeviceConnectedHandler
Method registers handler responsible handling operations related to connected device after device is connected.- Parameters:
deviceConnectedHandler- device connected handler
-
setDeviceDisconnectedHandler
Method registers handler responsible handling device disconnected event.- Parameters:
deviceDisconnectedHandler- device disconnected handler
-