protected void writeHeader(NetworkDataRepresentation ndr) { ndr.writeUnsignedSmall((short) getMajorVersion()); ndr.writeUnsignedSmall((short) getMinorVersion()); ndr.writeUnsignedSmall((short) getType()); ndr.writeUnsignedSmall((short) getFlags()); ndr.writeFormat(false); // skip the fragment and auth lengths, since we don't have them yet. ndr.writeUnsignedShort(0); ndr.writeUnsignedShort(0); ndr.writeUnsignedLong(useCallIdCounter ? callIdCounter++ : callId); }
protected void writeHeader ( NetworkDataRepresentation ndr ) { ndr.writeUnsignedSmall ( (short)getMajorVersion () ); ndr.writeUnsignedSmall ( (short)getMinorVersion () ); ndr.writeUnsignedSmall ( (short)getType () ); ndr.writeUnsignedSmall ( (short)getFlags () ); ndr.writeFormat ( false ); // skip the fragment and auth lengths, since we don't have them yet. ndr.writeUnsignedShort ( 0 ); ndr.writeUnsignedShort ( 0 ); ndr.writeUnsignedLong ( useCallIdCounter ? callIdCounter++ : callId ); }
protected void writeHeader(NetworkDataRepresentation ndr) { ndr.writeUnsignedSmall((short) getMajorVersion()); ndr.writeUnsignedSmall((short) getMinorVersion()); ndr.writeUnsignedSmall((short) getType()); ndr.writeUnsignedSmall((short) getFlags()); ndr.writeFormat(false); // skip the fragment and auth lengths, since we don't have them yet. ndr.writeUnsignedShort(0); ndr.writeUnsignedShort(0); ndr.writeUnsignedLong(useCallIdCounter ? callIdCounter++ : callId); }