mina-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antares <anta...@virtuasport.it>
Subject info NioAcceptor
Date Wed, 13 Mar 2013 14:38:28 GMT
Hi,
i write a client with Apache Mina but after a couple of seconds of
inactivity i receive a session.close !
I tried to set connectionTimeMillis and idle but nothing.
Also i put a log on override function sessionIdle and exceptionCaught but i
dont see any log in there
Simply i receive a session close

        connector = new NioSocketConnector();
        connector.setConnectTimeoutMillis(60*60*24*1000L);
        log.debug("[start] connector.getConnectTimeoutMillis()=" +
connector.getConnectTimeoutMillis());
        connector.getFilterChain().addLast("codec", new
ProtocolCodecFilter(new FlashCrossdomainCodec()));
        connector.setHandler(new Handler(this));
        log.info("Connecting to " + host + ":" + port);
        cf = connector.connect(new InetSocketAddress(host, port));

where i make mistake ?

Thanks for your help

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message