Search in sources :

Example 6 with GetFeaturesInputBuilder

use of org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.GetFeaturesInputBuilder 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();
}
Also used : GetFeaturesInputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.GetFeaturesInputBuilder)

Aggregations

GetFeaturesInputBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.GetFeaturesInputBuilder)6 GetFeaturesInput (org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.GetFeaturesInput)3 ByteBuf (io.netty.buffer.ByteBuf)2 Test (org.junit.Test)2 GetFeaturesOutput (org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.GetFeaturesOutput)2 RpcError (org.opendaylight.yangtools.yang.common.RpcError)2 ExecutionException (java.util.concurrent.ExecutionException)1 TimeoutException (java.util.concurrent.TimeoutException)1 RpcResult (org.opendaylight.yangtools.yang.common.RpcResult)1