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

LooseUnmarshal() public method

public LooseUnmarshal ( OpenWireFormat wireFormat, Object o, BinaryReader dataIn ) : void
wireFormat OpenWireFormat
o Object
dataIn System.IO.BinaryReader
return void
        public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
        {
            base.LooseUnmarshal(wireFormat, o, dataIn);

            SubscriptionInfo info = (SubscriptionInfo)o;
            info.ClientId = LooseUnmarshalString(dataIn);
            info.Destination = (ActiveMQDestination) LooseUnmarshalCachedObject(wireFormat, dataIn);
            info.Selector = LooseUnmarshalString(dataIn);
            info.SubcriptionName = LooseUnmarshalString(dataIn);
        }