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(org.opendaylight.yangtools.yang.common.Uint8 helloVersion, org.opendaylight.yangtools.yang.common.Uint32 helloXid)
Creates hello input.static HelloInput
createHelloInput(org.opendaylight.yangtools.yang.common.Uint8 helloVersion, org.opendaylight.yangtools.yang.common.Uint32 helloXid, List<org.opendaylight.yangtools.yang.common.Uint8> versionOrder)
Creates hello input.static List<Boolean>
digVersions(List<Elements> elements)
Lists all versions.
-
-
-
Method Detail
-
createHelloInput
public static HelloInput createHelloInput(org.opendaylight.yangtools.yang.common.Uint8 helloVersion, org.opendaylight.yangtools.yang.common.Uint32 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(org.opendaylight.yangtools.yang.common.Uint8 helloVersion, org.opendaylight.yangtools.yang.common.Uint32 helloXid, List<org.opendaylight.yangtools.yang.common.Uint8> 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)
-
-