public interface SwitchConnectionProvider extends AutoCloseable, SerializerExtensionProvider, DeserializerExtensionProvider
Modifier and Type | Method and Description |
---|---|
ConnectionConfiguration |
getConfiguration()
Returns the connection configuration.
|
void |
setSwitchConnectionHandler(SwitchConnectionHandler switchConHandler)
Sets the SwitchConnectionHandler.
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
shutdown()
Stop listening to switches.
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
startup()
Start listening to switches, but please don't forget to do
setSwitchConnectionHandler(SwitchConnectionHandler) first. |
close
registerActionSerializer, registerExperimenterMessageSerializer, registerInstructionSerializer, registerMatchEntrySerializer, registerMeterBandSerializer, registerMeterBandSerializer, registerMultipartRequestSerializer, registerMultipartRequestTFSerializer, registerSerializer, unregisterSerializer
registerActionDeserializer, registerDeserializer, registerDeserializerMapping, registerErrorDeserializer, registerExperimenterMessageDeserializer, registerInstructionDeserializer, registerMatchEntryDeserializer, registerMeterBandDeserializer, registerMultipartReplyMessageDeserializer, registerMultipartReplyTFDeserializer, registerQueuePropertyDeserializer, unregisterDeserializer, unregisterDeserializerMapping
ConnectionConfiguration getConfiguration()
com.google.common.util.concurrent.ListenableFuture<Boolean> startup()
setSwitchConnectionHandler(SwitchConnectionHandler)
first.com.google.common.util.concurrent.ListenableFuture<Boolean> shutdown()
void setSwitchConnectionHandler(SwitchConnectionHandler switchConHandler)
switchConHandler
- instance being informed when new switch connectsCopyright © 2020 OpenDaylight. All rights reserved.