Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 internal static HandleRef getCPtr(LocalTransactionExecuter obj)
 {
     return(obj == null ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }