Apache.NMS.ActiveMQ.OpenWire.V6.MessageIdMarshaller.TightMarshal1 C# (CSharp) Method

TightMarshal1() public method

public TightMarshal1 ( OpenWireFormat wireFormat, Object o, BooleanStream bs ) : int
wireFormat OpenWireFormat
o Object
bs BooleanStream
return int
        public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
        {
            MessageId info = (MessageId)o;

            int rc = base.TightMarshal1(wireFormat, o, bs);
            rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.ProducerId, bs);
            rc += TightMarshalLong1(wireFormat, info.ProducerSequenceId, bs);
            rc += TightMarshalLong1(wireFormat, info.BrokerSequenceId, bs);

            return rc + 0;
        }