Class ScenarioFactory
- java.lang.Object
- 
- org.opendaylight.openflowjava.protocol.impl.clients.ScenarioFactory
 
- 
 public final class ScenarioFactory extends Object Class for providing prepared handshake scenario.- Author:
- michal.polkorab
 
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static Deque<ClientEvent>createHandshakeScenario()Creates stack with handshake needed messages.static Deque<ClientEvent>createHandshakeScenarioWithAuxiliaryId(byte auxiliaryId)Creates stack with handshake needed messages.static Deque<ClientEvent>createHandshakeScenarioWithBarrier()Creates stack with handshake needed messages.
 
- 
- 
- 
Method Detail- 
createHandshakeScenariopublic static Deque<ClientEvent> createHandshakeScenario() Creates 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
 
 - 
createHandshakeScenarioWithBarrierpublic static Deque<ClientEvent> createHandshakeScenarioWithBarrier() Creates 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
 
 - 
createHandshakeScenarioWithAuxiliaryIdpublic static Deque<ClientEvent> createHandshakeScenarioWithAuxiliaryId(byte auxiliaryId) Creates 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)
 
 
- 
 
-