Apache.NMS.ActiveMQ.OpenWire.V5.ProducerAckMarshaller.TightMarshal2 C# (CSharp) Method

TightMarshal2() public method

public TightMarshal2 ( OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs ) : void
wireFormat OpenWireFormat
o Object
dataOut System.IO.BinaryWriter
bs BooleanStream
return void
        public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs)
        {
            base.TightMarshal2(wireFormat, o, dataOut, bs);

            ProducerAck info = (ProducerAck)o;
            TightMarshalNestedObject2(wireFormat, (DataStructure)info.ProducerId, dataOut, bs);
            dataOut.Write(info.Size);
        }