GetTopicQos( ref TopicQos topicQos, string id) { NamedTopicQos tQos = new NamedTopicQos(); GCHandle qosHandle = GCHandle.Alloc(tQos, GCHandleType.Normal); ReturnCode result = OpenSplice.Common.QosProvider.GetTopicQos(GapiPeer, id, GCHandle.ToIntPtr(qosHandle)); topicQos = tQos.TopicQos; qosHandle.Free(); return(result); }
GetTopicQos( ref TopicQos topicQos, string id) { ReportStack.Start(); NamedTopicQos tQos = new NamedTopicQos(); GCHandle qosHandle = GCHandle.Alloc(tQos, GCHandleType.Normal); ReturnCode result = qpResultToReturnCode( OpenSplice.Common.QosProvider.GetTopicQos(cmnQpPtr, id, GCHandle.ToIntPtr(qosHandle))); if (result == ReturnCode.Ok) { topicQos = tQos.TopicQos; } else { ReportStack.Report(result, "Could not copy TopicQos."); } qosHandle.Free(); ReportStack.Flush(null, result != ReturnCode.Ok); return(result); }
GetTopicQos ( ref TopicQos topicQos, string id) { NamedTopicQos tQos = new NamedTopicQos(); GCHandle qosHandle = GCHandle.Alloc(tQos, GCHandleType.Normal); ReturnCode result = OpenSplice.Common.QosProvider.GetTopicQos(GapiPeer, id, GCHandle.ToIntPtr(qosHandle)); topicQos = tQos.TopicQos; qosHandle.Free(); return result; }