Issue Details (XML | Word | Printable)

Key: DIRMINA-158
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Trustin Lee
Reporter: Trustin Lee
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
MINA

Provide better way to specify parameters to IoSessionManagers

Created: 03/Jan/06 10:28 PM   Updated: 20/Feb/06 11:25 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 0.9.2

Time Tracking:
Not Specified

Resolution Date: 20/Feb/06 11:25 PM


 Description  « Hide
For now, properties (SO_REUSEADDR, SO_BROADCAST, SO_TC, ...) are provided in IoSessionManager implementations such as SocketAcceptor. But SocketAcceptor allows you to bind multiple services. Different services will require different settings. We could define a general interface for acceptor/connector setting and implement transport-type-specific classes and let users use them instead of methods in acceptors and connectors.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Trustin Lee added a comment - 20/Feb/06 11:25 PM
Now we have separate configuration interfaces:

* IoServiceConfig
** IoAcceptorConfig
*** SocketAcceptorConfig
*** DatagramAcceptorConfig
** IoConnectorConfig
*** SocketConnectorConfig
*** DatagramConnectorConfig

* IoSessionConfig
** SocketSessionConfig
** DatagramSessionConfig

IoAcceptor.bind() and IoConnector.connect() now accept an IoServiceConfig instance for detailed configuration.