Example #1
0
        GetParticipantQos(
            ref DomainParticipantQos participantQos,
            string id)
        {
            NamedDomainParticipantQos pQos = new NamedDomainParticipantQos();
            GCHandle   qosHandle           = GCHandle.Alloc(pQos, GCHandleType.Normal);
            ReturnCode result = OpenSplice.Common.QosProvider.GetParticipantQos(GapiPeer, id, GCHandle.ToIntPtr(qosHandle));

            participantQos = pQos.DomainparticipantQos;
            qosHandle.Free();
            return(result);
        }
Example #2
0
        GetParticipantQos(
            ref DomainParticipantQos participantQos,
            string id)
        {
            ReportStack.Start();
            NamedDomainParticipantQos pQos = new NamedDomainParticipantQos();
            GCHandle   qosHandle           = GCHandle.Alloc(pQos, GCHandleType.Normal);
            ReturnCode result = qpResultToReturnCode(
                OpenSplice.Common.QosProvider.GetParticipantQos(cmnQpPtr, id, GCHandle.ToIntPtr(qosHandle)));

            if (result == ReturnCode.Ok)
            {
                participantQos = pQos.DomainparticipantQos;
            }
            else
            {
                ReportStack.Report(result, "Could not copy DomainParticipantQos.");
            }
            qosHandle.Free();
            ReportStack.Flush(null, result != ReturnCode.Ok);
            return(result);
        }
Example #3
0
 GetParticipantQos (
     ref DomainParticipantQos participantQos,
     string id)
 {
     NamedDomainParticipantQos pQos = new NamedDomainParticipantQos();
     GCHandle qosHandle = GCHandle.Alloc(pQos, GCHandleType.Normal);
     ReturnCode result = OpenSplice.Common.QosProvider.GetParticipantQos(GapiPeer, id, GCHandle.ToIntPtr(qosHandle));
     participantQos = pQos.DomainparticipantQos;
     qosHandle.Free();
     return result;
 }