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);
server.getSessionConfig().setIdleTimeInMillis
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
org.apache.mina.transport.nio.NioTcpServ
>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)
damn.. good catch :)
--
Julien Vermillard http://people.apache.org/~jvermillard/
On Mon, Jul 29, 2013 at 2:52 PM, Ashish 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
> org.apache.mina.m
Hmm we don't have enum for IdleStatus.BOTH
Think would be good to support it.
On Mon, Jul 29, 2013 at 6:53 PM, Julien Vermillard wrote:
> damn.. good catch :)
> --
> Julien Vermillard http://people.apache.org/~jvermillard/
>
>
> On Mon, Jul 29, 2013 at 2:52 PM, Ashish wrote:
> > There is