Пример #1
0
        public virtual OrderAction consume(Message message, ConsumeOrderContext context)
        {
            var ret = (OrderAction)ONSClient4CPPPINVOKE.MessageOrderListener_consume(swigCPtr, Message.getCPtr(message), ConsumeOrderContext.getCPtr(context));

            if (ONSClient4CPPPINVOKE.SWIGPendingException.Pending)
            {
                throw ONSClient4CPPPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #2
0
 internal static HandleRef getCPtr(ConsumeOrderContext obj)
 {
     return(obj == null ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }