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); }
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); }
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; }