Пример #1
0
        public virtual PullResultONS pull(MessageQueueONS mq, string subExpression, long offset, int maxNums)
        {
            var ret = new PullResultONS(ONSClient4CPPPINVOKE.PullConsumer_pull(swigCPtr, MessageQueueONS.getCPtr(mq), subExpression, offset, maxNums), true);

            if (ONSClient4CPPPINVOKE.SWIGPendingException.Pending)
            {
                throw ONSClient4CPPPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #2
0
 internal static HandleRef getCPtr(PullResultONS obj)
 {
     return(obj == null ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Пример #3
0
 private IntPtr SwigDirectorpull(IntPtr mq, string subExpression, long offset, int maxNums)
 {
     return(PullResultONS.getCPtr(pull(new MessageQueueONS(mq, false), subExpression, offset, maxNums)).Handle);
 }