179180181182183184185186187188189
private void method(Method method, SegmentType type) { BBEncoder enc = encoder.get(); enc.init(); enc.writeUint16(method.getEncodedType()); if (type == SegmentType.COMMAND) { if (method.isSync()) { enc.writeUint16(0x0101);
184185186187188189190191192193194
enc.writeUint16(method.getEncodedType()); if (type == SegmentType.COMMAND) { if (method.isSync()) { enc.writeUint16(0x0101); } else { enc.writeUint16(0x0100); }
188189190191192193194195196197198
{ enc.writeUint16(0x0101); } else { enc.writeUint16(0x0100); } } method.write(enc); ByteBuffer methodSeg = enc.segment();
164165166167168169170171172173174
private void method(Method method, SegmentType type) { BBEncoder enc = _encoder.get(); enc.init(); enc.writeUint16(method.getEncodedType()); if (type == SegmentType.COMMAND) { if (method.isSync()) { enc.writeUint16(0x0101);
169170171172173174175176177178179
173174175176177178179180181182183
174175176177178179180181182183184
183184185186187188189190191192193
{ enc.writeUint16(0x0101); } else { enc.writeUint16(0x0100); } } method.write(enc); int methodLimit = enc.position();