Class OpenflowProtocolListenerFullImpl
java.lang.Object
org.opendaylight.openflowplugin.impl.device.listener.OpenflowProtocolListenerFullImpl
- All Implemented Interfaces:
EventListener
,AlienMessageListener
,OpenflowMessageListenerFacade
,OpenflowProtocolListener
,org.opendaylight.yangtools.yang.binding.NotificationListener
public class OpenflowProtocolListenerFullImpl
extends Object
implements AlienMessageListener, OpenflowMessageListenerFacade
-
Constructor Summary
ConstructorDescriptionOpenflowProtocolListenerFullImpl
(ConnectionAdapter connectionAdapter, DeviceReplyProcessor deviceReplyProcessor) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
onAlienMessage
(OfHeader message) Handler for alien but successfully deserialized messages for device.void
onEchoRequestMessage
(EchoRequestMessage echoRequestMessage) void
onErrorMessage
(ErrorMessage notification) void
onExperimenterMessage
(ExperimenterMessage notification) void
onFlowRemovedMessage
(FlowRemovedMessage notification) void
onHelloMessage
(HelloMessage hello) void
onMultipartReplyMessage
(MultipartReplyMessage notification) void
onPacketInMessage
(PacketInMessage notification) void
onPortStatusMessage
(PortStatusMessage notification)
-
Constructor Details
-
OpenflowProtocolListenerFullImpl
public OpenflowProtocolListenerFullImpl(ConnectionAdapter connectionAdapter, DeviceReplyProcessor deviceReplyProcessor) Constructor.- Parameters:
connectionAdapter
- - connection adapterdeviceReplyProcessor
- - device replay processor
-
-
Method Details
-
onEchoRequestMessage
- Specified by:
onEchoRequestMessage
in interfaceOpenflowProtocolListener
-
onErrorMessage
- Specified by:
onErrorMessage
in interfaceOpenflowProtocolListener
-
onExperimenterMessage
- Specified by:
onExperimenterMessage
in interfaceOpenflowProtocolListener
-
onFlowRemovedMessage
- Specified by:
onFlowRemovedMessage
in interfaceOpenflowProtocolListener
-
onHelloMessage
- Specified by:
onHelloMessage
in interfaceOpenflowProtocolListener
-
onMultipartReplyMessage
- Specified by:
onMultipartReplyMessage
in interfaceOpenflowProtocolListener
-
onPacketInMessage
- Specified by:
onPacketInMessage
in interfaceOpenflowProtocolListener
-
onPortStatusMessage
- Specified by:
onPortStatusMessage
in interfaceOpenflowProtocolListener
-
onAlienMessage
Description copied from interface:AlienMessageListener
Handler for alien but successfully deserialized messages for device.- Specified by:
onAlienMessage
in interfaceAlienMessageListener
- Parameters:
message
- alien message- Returns:
- true if alien message was successfully processed
-