Class OpenflowUtils
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.util.OpenflowUtils
-
public abstract class OpenflowUtils extends Object
Used for common structures translation / conversion.- Author:
- michal.polkorab
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PortConfigV10
createPortConfig(long input)
Creates PortConfig (OF v1.0) from input.static PortFeaturesV10
createPortFeatures(long input)
Creates PortFeatures (OF v1.0) from input.static PortStateV10
createPortState(long input)
Creates PortState (OF v1.0) from input.
-
-
-
Method Detail
-
createPortState
public static PortStateV10 createPortState(long input)
Creates PortState (OF v1.0) from input.- Parameters:
input
- value read from buffer- Returns:
- port state
-
createPortConfig
public static PortConfigV10 createPortConfig(long input)
Creates PortConfig (OF v1.0) from input.- Parameters:
input
- value read from buffer- Returns:
- port state
-
createPortFeatures
public static PortFeaturesV10 createPortFeatures(long input)
Creates PortFeatures (OF v1.0) from input.- Parameters:
input
- value read from buffer- Returns:
- port state
-
-