You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2005/10/17 17:43:44 UTC

[jira] Commented: (DIRMINA-96) Redesign API for connectionless transport types.

    [ http://issues.apache.org/jira/browse/DIRMINA-96?page=comments#action_12332241 ] 

Trustin Lee commented on DIRMINA-96:
------------------------------------

Here's my idea:

* Add ConnectionlessIoAcceptor which extends IoAcceptor
* Add ConnectionlessIoAcceptor.newSession(SocketAddress remoteAddress, SocketAddress localAddress)

Users will be able to create a session object by calling newSession so easily that they can call write() method.

WDYT?

> Redesign API for connectionless transport types.
> ------------------------------------------------
>
>          Key: DIRMINA-96
>          URL: http://issues.apache.org/jira/browse/DIRMINA-96
>      Project: Directory MINA
>         Type: Improvement
>     Reporter: Trustin Lee
>     Assignee: Trustin Lee
>     Priority: Critical
>      Fix For: 0.9

>
> Connectionless transport types such as UDP has a problem with the current API because there's no way for IoHandler bound to an acceptor to send a message before a client sends data.  This issue has been discussed in this thread:
> http://www.nabble.com/-mina-DatagramAcceptor-RFE-t410448.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira