Dear All

I want to do stresstest from SocketAcceptor into remote client
application. So, when the remote app connects to this server, the
server will send many messages periodically.

My question is, in SocketAcceptor, which IoSession can be used to send
the messages? Is it inside sessionOpened(IoSession session)?

Why I ask this, because I see that in SocketConnector, I can't use
session in sessionOpened(IoSession session). Instead, I must use in
the connector.connect().awaitUninterruptibly().getSession().

Thanks

-- 
~The best men are men who benefit to others
http://michsan.web.id 一緒に勉強しましょう!

Yang berkualitas memang beda rasanya!
http://rizqi-cookies.com

Reply via email to