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 made changes - 24/Jan/06 11:14 AM
Field Original Value New Value
Fix Version/s 0.9.1 [ 12310371 ]
Fix Version/s 0.9.2 [ 12310730 ]
Repository Revision Date User Message
ASF #372393 Thu Jan 26 01:47:41 UTC 2006 trustin Branching to resolve DIRMINA-158 (Provide better way to specify parameters to IoSessionManagers)
Files Changed
ADD /directory/sandbox/trustin/dirmina-158 (from /directory/trunks/mina)

Trustin Lee made changes - 26/Jan/06 10:46 AM
Assignee Trustin Lee [ trustin ]
Trustin Lee made changes - 26/Jan/06 10:47 AM
Status Open [ 1 ] In Progress [ 3 ]
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.

Trustin Lee made changes - 20/Feb/06 11:25 PM
Status In Progress [ 3 ] Closed [ 6 ]
Resolution Fixed [ 1 ]