use of org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.GetFeaturesInput in project openflowplugin by opendaylight.
the class GetFeaturesInputFactoryTest method test.
@Test
public void test() {
ByteBuf bb = BufferHelper.buildBuffer();
GetFeaturesInput deserializedMessage = BufferHelper.deserialize(factory, bb);
BufferHelper.checkHeaderV13(deserializedMessage);
}
use of org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.GetFeaturesInput in project openflowplugin by opendaylight.
the class GetFeaturesInputMessageFactory method deserialize.
@Override
public GetFeaturesInput deserialize(ByteBuf rawMessage) {
GetFeaturesInputBuilder builder = new GetFeaturesInputBuilder();
builder.setVersion((short) EncodeConstants.OF13_VERSION_ID);
builder.setXid(rawMessage.readUnsignedInt());
return builder.build();
}
Aggregations