IoServiceListener inconsistent
------------------------------
Key: DIRMINA-745
URL: https://issues.apache.org/jira/browse/DIRMINA-745
Project: MINA
Issue Type: Bug
Components: Core
Affects Versions: 2.0.0-RC1
Reporter: Haug Bürger
The IoService is the base class/interface for SocketAcceptor and
SocketConnector. I can add the same listener to both of them. The issue is that
the listener method are called at different times.
SocketConnector:
Nothing is called until a connection is established.
SocketAcceptor:
serviceActivated() is called as soon as the service is started, there is no
connection.
What is the abstraction? What is a service with a client connection? How can I
write code that doesn't know if the IoService is client or server based?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.