Class OpenflowProtocolListenerInitialImpl
java.lang.Object
org.opendaylight.openflowplugin.impl.connection.listener.OpenflowProtocolListenerInitialImpl
- All Implemented Interfaces:
EventListener
,OpenflowProtocolListener
,org.opendaylight.yangtools.yang.binding.NotificationListener
-
Constructor Summary
ConstructorDescriptionOpenflowProtocolListenerInitialImpl
(ConnectionContext connectionContext, HandshakeContext handshakeContext) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkState
(ConnectionContext.CONNECTION_STATE expectedState) Check state of the connection context.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
-
OpenflowProtocolListenerInitialImpl
public OpenflowProtocolListenerInitialImpl(ConnectionContext connectionContext, HandshakeContext handshakeContext) Constructor.- Parameters:
connectionContext
- - connection contexthandshakeContext
- - handshake context
-
-
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
-
checkState
Check state of the connection context.- Parameters:
expectedState
- - the expected state
-