/** @inheritDoc */ @Override public PrimitiveSink putBoolean(final boolean theBool) { for (PrimitiveSink aSink : this) { aSink.putBoolean(theBool); } return this; }
@Override public void funnel(OFBsnSetPktinSuppressionRequestVer12 message, PrimitiveSink sink) { // fixed value property version = 3 sink.putByte((byte) 0x3); // fixed value property type = 4 sink.putByte((byte) 0x4); // fixed value property length = 32 sink.putShort((short) 0x20); sink.putLong(message.xid); // fixed value property experimenter = 0x5c16c7L sink.putInt(0x5c16c7); // fixed value property subtype = 0xbL sink.putInt(0xb); sink.putBoolean(message.enabled); // skip pad (1 bytes) sink.putInt(message.idleTimeout); sink.putInt(message.hardTimeout); sink.putInt(message.priority); message.cookie.putTo(sink); }