public virtual SendResultONS send(Message msg, LocalTransactionExecuter executer) { var ret = new SendResultONS(ONSClient4CPPPINVOKE.TransactionProducer_send(swigCPtr, Message.getCPtr(msg), LocalTransactionExecuter.getCPtr(executer)), true); if (ONSClient4CPPPINVOKE.SWIGPendingException.Pending) { throw ONSClient4CPPPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static HandleRef getCPtr(LocalTransactionExecuter obj) { return(obj == null ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }