Class OpenflowUtils
java.lang.Object
org.opendaylight.openflowjava.protocol.impl.util.OpenflowUtils
Used for common structures translation / conversion.
- Author:
- michal.polkorab
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 Details
-
createPortState
Creates PortState (OF v1.0) from input.- Parameters:
input
- value read from buffer- Returns:
- port state
-
createPortConfig
Creates PortConfig (OF v1.0) from input.- Parameters:
input
- value read from buffer- Returns:
- port state
-
createPortFeatures
Creates PortFeatures (OF v1.0) from input.- Parameters:
input
- value read from buffer- Returns:
- port state
-