Re: Read/Write Filterchain

2013-07-29 Thread Julien Vermillard
On Sun, Jul 28, 2013 at 4:20 PM, Ashish paliwalash...@gmail.com wrote: On Sun, Jul 28, 2013 at 5:18 PM, Julien Vermillard jvermill...@gmail.comwrote: Hi, Just make a filter handling read,but bypass for write and a filter handling write but bypass for read. If you extends AbstractIoFilter

Re: Read/Write Filterchain

2013-07-29 Thread Ashish
On Mon, Jul 29, 2013 at 3:15 PM, Julien Vermillard jvermill...@gmail.comwrote: On Sun, Jul 28, 2013 at 4:20 PM, Ashish paliwalash...@gmail.com wrote: On Sun, Jul 28, 2013 at 5:18 PM, Julien Vermillard jvermill...@gmail.comwrote: Hi, Just make a filter handling read,but bypass for

Disabling Idle Session checker

2013-07-29 Thread Ashish
Is there a way to configure or disable Session Idle checker? I used following code (writing an example with monitoring). I need to test the Stats, so need a longer timeout. server.getSessionConfig().setIdleTimeInMillis(IdleStatus.READ_IDLE, 60*60*60);

Re: Disabling Idle Session checker

2013-07-29 Thread Ashish
There is a typo in LoggingFilter, where messageSent print IDLE, fixed it, and here are the logs [29 Jul 2013 18:21:30,829] [main] INFO org.apache.mina.monitoring.NioTcpEchoServerWithMonitoring - starting echo server [29 Jul 2013 18:21:30,934] [main] INFO

Re: Read/Write Filterchain

2013-07-29 Thread Julien Vermillard
On Mon, Jul 29, 2013 at 11:52 AM, Ashish paliwalash...@gmail.com wrote: On Mon, Jul 29, 2013 at 3:15 PM, Julien Vermillard jvermill...@gmail.comwrote: On Sun, Jul 28, 2013 at 4:20 PM, Ashish paliwalash...@gmail.com wrote: On Sun, Jul 28, 2013 at 5:18 PM, Julien Vermillard

Re: Read/Write Filterchain

2013-07-29 Thread Ashish
On Mon, Jul 29, 2013 at 6:24 PM, Julien Vermillard jvermill...@gmail.comwrote: On Mon, Jul 29, 2013 at 11:52 AM, Ashish paliwalash...@gmail.com wrote: On Mon, Jul 29, 2013 at 3:15 PM, Julien Vermillard jvermill...@gmail.comwrote: On Sun, Jul 28, 2013 at 4:20 PM, Ashish

Re: Read/Write Filterchain

2013-07-29 Thread Julien Vermillard
On Mon, Jul 29, 2013 at 3:01 PM, Ashish paliwalash...@gmail.com wrote: On Mon, Jul 29, 2013 at 6:24 PM, Julien Vermillard jvermill...@gmail.comwrote: On Mon, Jul 29, 2013 at 11:52 AM, Ashish paliwalash...@gmail.com wrote: On Mon, Jul 29, 2013 at 3:15 PM, Julien Vermillard

Re: Disabling Idle Session checker

2013-07-29 Thread Julien Vermillard
From the IoSession javadoc, perhaps it's not obvious and we should add a method : /** * Set the delay before an {@link IoSession} is considered idle for a given * operation type (read/write/both) @see IdleStatus * * @param status the type of idle (read/write/both)

Re: Disabling Idle Session checker

2013-07-29 Thread Julien Vermillard
damn.. good catch :) -- Julien Vermillard http://people.apache.org/~jvermillard/ On Mon, Jul 29, 2013 at 2:52 PM, Ashish paliwalash...@gmail.com wrote: There is a typo in LoggingFilter, where messageSent print IDLE, fixed it, and here are the logs [29 Jul 2013 18:21:30,829] [main] INFO

Monitoring support draft code available

2013-07-29 Thread Ashish
Folks, I have committed an initial draft for monitoring support. As of now it's in the form of IoFilter, and as of now I am not very sure if this needs to be this way. All that we have in MonitoringFilter can easily be part of its base classes. Have a working example in test folder for the time

Re: [VOTE] MINA 3.0.0-M2

2013-07-29 Thread Julien Vermillard
With my +1, we have 3 binding +1 : - Emmanuel Lécharny - Ashish Paliwal - Julien Vermillard no 0 or -1. I'll publish this release and push the announces. Thanks, -- Julien Vermillard http://people.apache.org/~jvermillard/ On Sat, Jul 27, 2013 at 8:52 PM, Ashish paliwalash...@gmail.com

Re: [VOTE] MINA 3.0.0-M2

2013-07-29 Thread Emmanuel Lécharny
Le 7/29/13 9:38 PM, Julien Vermillard a écrit : With my +1, we have 3 binding +1 : - Emmanuel Lécharny - Ashish Paliwal - Julien Vermillard no 0 or -1. I'll publish this release and push the announces. It's a bit early... Especially considering that the vote has been started on a

[SSHD] Client-side initiated connection interruption

2013-07-29 Thread Marian Seitner
Hi, I've a question regarding correct handling of client-side initiated transfer interruption. Consider the following code to demonstrate the issue (code is called from a pool thread): // we have already an established client sessionChannelExec channelExec =

[SSHD] Client-side initiated connection interruption (correct formatting)

2013-07-29 Thread Marian Seitner
Hi, I've a question regarding correct handling of client-side initiated transfer interruption. Consider the following code to demonstrate the issue (code is called from a pool thread): // we have already an established client session ChannelExec channelExec =