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
ConstructorsConstructorDescriptionOpenflowProtocolListenerInitialImpl(ConnectionContext connectionContext, HandshakeContext handshakeContext) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancheckState(ConnectionContext.CONNECTION_STATE expectedState) Check state of the connection context.voidonEchoRequestMessage(EchoRequestMessage echoRequestMessage) voidonErrorMessage(ErrorMessage notification) voidonExperimenterMessage(ExperimenterMessage notification) voidonFlowRemovedMessage(FlowRemovedMessage notification) voidonHelloMessage(HelloMessage hello) voidonMultipartReplyMessage(MultipartReplyMessage notification) voidonPacketInMessage(PacketInMessage notification) voidonPortStatusMessage(PortStatusMessage notification)
-
Constructor Details
-
OpenflowProtocolListenerInitialImpl
public OpenflowProtocolListenerInitialImpl(ConnectionContext connectionContext, HandshakeContext handshakeContext) Constructor.- Parameters:
connectionContext- - connection contexthandshakeContext- - handshake context
-
-
Method Details
-
onEchoRequestMessage
- Specified by:
onEchoRequestMessagein interfaceOpenflowProtocolListener
-
onErrorMessage
- Specified by:
onErrorMessagein interfaceOpenflowProtocolListener
-
onExperimenterMessage
- Specified by:
onExperimenterMessagein interfaceOpenflowProtocolListener
-
onFlowRemovedMessage
- Specified by:
onFlowRemovedMessagein interfaceOpenflowProtocolListener
-
onHelloMessage
- Specified by:
onHelloMessagein interfaceOpenflowProtocolListener
-
onMultipartReplyMessage
- Specified by:
onMultipartReplyMessagein interfaceOpenflowProtocolListener
-
onPacketInMessage
- Specified by:
onPacketInMessagein interfaceOpenflowProtocolListener
-
onPortStatusMessage
- Specified by:
onPortStatusMessagein interfaceOpenflowProtocolListener
-
checkState
Check state of the connection context.- Parameters:
expectedState- - the expected state
-