Beispiel #1
0
        GetSubscriberQos(
            ref SubscriberQos subscriberQos,
            string id)
        {
            NamedSubscriberQos sQos      = new NamedSubscriberQos();
            GCHandle           qosHandle = GCHandle.Alloc(sQos, GCHandleType.Normal);
            ReturnCode         result    = OpenSplice.Common.QosProvider.GetSubscriberQos(GapiPeer, id, GCHandle.ToIntPtr(qosHandle));

            subscriberQos = sQos.SubscriberQos;
            qosHandle.Free();
            return(result);
        }
Beispiel #2
0
        GetSubscriberQos(
            ref SubscriberQos subscriberQos,
            string id)
        {
            ReportStack.Start();
            NamedSubscriberQos sQos      = new NamedSubscriberQos();
            GCHandle           qosHandle = GCHandle.Alloc(sQos, GCHandleType.Normal);
            ReturnCode         result    = qpResultToReturnCode(
                OpenSplice.Common.QosProvider.GetSubscriberQos(cmnQpPtr, id, GCHandle.ToIntPtr(qosHandle)));

            if (result == ReturnCode.Ok)
            {
                subscriberQos = sQos.SubscriberQos;
            }
            else
            {
                ReportStack.Report(result, "Could not copy subscriberQos.");
            }
            qosHandle.Free();
            ReportStack.Flush(null, result != ReturnCode.Ok);
            return(result);
        }
Beispiel #3
0
 GetSubscriberQos (
     ref SubscriberQos subscriberQos,
     string id)
 {
     NamedSubscriberQos sQos = new NamedSubscriberQos();
     GCHandle qosHandle = GCHandle.Alloc(sQos, GCHandleType.Normal);
     ReturnCode result = OpenSplice.Common.QosProvider.GetSubscriberQos(GapiPeer, id, GCHandle.ToIntPtr(qosHandle));
     subscriberQos = sQos.SubscriberQos;
     qosHandle.Free();
     return result;
 }