コード例 #1
0
 @Override
 public void funnel(OFGroupFeaturesStatsReplyVer12 message, PrimitiveSink sink) {
   // fixed value property version = 3
   sink.putByte((byte) 0x3);
   // fixed value property type = 19
   sink.putByte((byte) 0x13);
   // fixed value property length = 56
   sink.putShort((short) 0x38);
   sink.putLong(message.xid);
   // fixed value property statsType = 8
   sink.putShort((short) 0x8);
   OFStatsReplyFlagsSerializerVer12.putTo(message.flags, sink);
   // skip pad (4 bytes)
   sink.putLong(message.types);
   sink.putLong(message.capabilities);
   sink.putLong(message.maxGroupsAll);
   sink.putLong(message.maxGroupsSelect);
   sink.putLong(message.maxGroupsIndirect);
   sink.putLong(message.maxGroupsFf);
   sink.putLong(message.actionsAll);
   sink.putLong(message.actionsSelect);
   sink.putLong(message.actionsIndirect);
   sink.putLong(message.actionsFf);
 }