Class MessageFactory
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.util.MessageFactory
-
public abstract class MessageFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description MessageFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HelloInput
createHelloInput(short helloVersion, long helloXid)
Creates hello input.static HelloInput
createHelloInput(short helloVersion, long helloXid, List<Short> versionOrder)
Creates hello input.static List<Boolean>
digVersions(List<Elements> elements)
Lists all versions.
-
-
-
Method Detail
-
createHelloInput
public static HelloInput createHelloInput(short helloVersion, long helloXid)
Creates hello input.- Parameters:
helloVersion
- openflow version for hello message to send to switchhelloXid
- transaction id for hello message- Returns:
- HelloInput without elements
-
createHelloInput
public static HelloInput createHelloInput(short helloVersion, long helloXid, List<Short> versionOrder)
Creates hello input.- Parameters:
helloVersion
- openflow version for hello message to send to switchhelloXid
- transaction id for hello messageversionOrder
- list of openflow version in order- Returns:
- HelloInput with elements (version bitmap)
-
-