I saw getWriteRequestQueue but it has no function to return the number of queued messages. Is this what getScheduledMessages is to return? The number of queued message? I was confused between scheduled and queued. David
On 2/17/2012 1:48 PM, Julien Vermillard wrote: > tried getWriteRequestQueue() getScheduledWriteMessages() on IoSession ? > > > On Fri, Feb 17, 2012 at 1:55 PM, David R Robison > <[email protected]> wrote: >> Is it possible to access the write queue from an IoSession? I want to >> test the queue length and possibly discard some messages to be sent if >> the queue is too full. Alternatively, if we could set a maximum queue >> size this would accomplish the same. David >> >> -- >> >> David R Robison >> Open Roads Consulting, Inc. >> 103 Watson Road, Chesapeake, VA 23320 >> phone: (757) 546-3401 >> e-mail: [email protected] >> web: http://openroadsconsulting.com >> blog: http://therobe.blogspot.com >> book: >> http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526 >> >> >> >> This email communication (including any attachments) may contain >> confidential and/or privileged material intended solely for the individual >> or entity to which it is addressed. >> If you are not the intended recipient, please delete this email immediately. >> -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: [email protected] web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526 This email communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. If you are not the intended recipient, please delete this email immediately.
