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); }
internal static HandleRef getCPtr(PullResultONS obj) { return(obj == null ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
private IntPtr SwigDirectorpull(IntPtr mq, string subExpression, long offset, int maxNums) { return(PullResultONS.getCPtr(pull(new MessageQueueONS(mq, false), subExpression, offset, maxNums)).Handle); }