Apache.NMS.ActiveMQ.OpenWire.V2.SubscriptionInfoMarshaller.LooseMarshal C# (CSharp) Method

LooseMarshal() public method

public LooseMarshal ( OpenWireFormat wireFormat, Object o, BinaryWriter dataOut ) : void
wireFormat OpenWireFormat
o Object
dataOut System.IO.BinaryWriter
return void
        public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
        {
            SubscriptionInfo info = (SubscriptionInfo)o;

            base.LooseMarshal(wireFormat, o, dataOut);
            LooseMarshalString(info.ClientId, dataOut);
            LooseMarshalCachedObject(wireFormat, (DataStructure)info.Destination, dataOut);
            LooseMarshalString(info.Selector, dataOut);
            LooseMarshalString(info.SubcriptionName, dataOut);
        }