Class ScenarioFactory
java.lang.Object
org.opendaylight.openflowjava.protocol.impl.clients.ScenarioFactory
Class for providing prepared handshake scenario.
- Author:
- michal.polkorab
- 
Method SummaryModifier and TypeMethodDescriptionstatic Deque<ClientEvent>Creates stack with handshake needed messages.static Deque<ClientEvent>createHandshakeScenarioWithAuxiliaryId(byte auxiliaryId) Creates stack with handshake needed messages.static Deque<ClientEvent>Creates stack with handshake needed messages.
- 
Method Details- 
createHandshakeScenarioCreates stack with handshake needed messages. XID of messages:- hello sent - 00000001
- hello waiting - 00000002
- features request waiting - 00000003
- features reply sent - 00000003
 - Returns:
- stack filled with Handshake messages
 
- 
createHandshakeScenarioWithBarrierCreates stack with handshake needed messages. XID of messages:- hello sent - 00000001
- hello waiting - 00000021
- features request waiting - 00000002
- features reply sent - 00000002
 - Returns:
- stack filled with Handshake messages
 
- 
createHandshakeScenarioWithAuxiliaryIdCreates stack with handshake needed messages. XID of messages:- hello sent - 00000001
- hello waiting - 00000002
- features request waiting - 00000003
- features reply sent - 00000003
 - Parameters:
- auxiliaryId- auxiliaryId wanted in featuresReply message
- Returns:
- stack filled with Handshake messages (featuresReply with auxiliaryId set)
 
 
-