Interface ConnectionManager
- 
- All Superinterfaces:
- AutoCloseable,- SwitchConnectionHandler
 - All Known Implementing Classes:
- ConnectionManagerImpl
 
 public interface ConnectionManager extends SwitchConnectionHandler, AutoCloseable Connection manager manages connections with devices. It instantiates and registersConnectionContextused for handling all communication with device when onSwitchConnected notification is processed.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetDeviceConnectedHandler(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.AutoCloseableclose
 - 
Methods inherited from interface org.opendaylight.openflowjava.protocol.api.connection.SwitchConnectionHandleraccept, onSwitchConnected
 
- 
 
- 
- 
- 
Method Detail- 
setDeviceConnectedHandlervoid setDeviceConnectedHandler(DeviceConnectedHandler deviceConnectedHandler) Method registers handler responsible handling operations related to connected device after device is connected.- Parameters:
- deviceConnectedHandler- device connected handler
 
 - 
setDeviceDisconnectedHandlervoid setDeviceDisconnectedHandler(DeviceDisconnectedHandler deviceDisconnectedHandler) Method registers handler responsible handling device disconnected event.- Parameters:
- deviceDisconnectedHandler- device disconnected handler
 
 
- 
 
-