Apache.NMS.ActiveMQ.OpenWire.V2.SubscriptionInfoMarshaller.TightMarshal1 C# (CSharp) Méthode

TightMarshal1() public méthode

public TightMarshal1 ( OpenWireFormat wireFormat, Object o, BooleanStream bs ) : int
wireFormat OpenWireFormat
o Object
bs BooleanStream
Résultat int
        public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
        {
            SubscriptionInfo info = (SubscriptionInfo)o;

            int rc = base.TightMarshal1(wireFormat, o, bs);
            rc += TightMarshalString1(info.ClientId, bs);
            rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.Destination, bs);
            rc += TightMarshalString1(info.Selector, bs);
            rc += TightMarshalString1(info.SubcriptionName, bs);

            return rc + 0;
        }