Apache.NMS.ActiveMQ.OpenWire.V6.ProducerIdMarshaller.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)
        {
            ProducerId info = (ProducerId)o;

            int rc = base.TightMarshal1(wireFormat, o, bs);
            rc += TightMarshalString1(info.ConnectionId, bs);
            rc += TightMarshalLong1(wireFormat, info.Value, bs);
            rc += TightMarshalLong1(wireFormat, info.SessionId, bs);

            return rc + 0;
        }