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 03:43:44 UTC

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

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
 Assigned to: Trustin Lee 
     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


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

Posted by "Alban Peignier (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/DIRMINA-96?page=comments#action_12332254 ] 

Alban Peignier commented on DIRMINA-96:
---------------------------------------

You're perfectly right. So +1 for me.

> 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


[jira] Closed: (DIRMINA-96) Provide an API for connectionless transport types to create a session from IoAcceptor.

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRMINA-96?page=all ]
     
Trustin Lee closed DIRMINA-96:
------------------------------

    Resolution: Fixed

Added IoAcceptor.newSession(remoteAddress, localAddress) which returns IoSession.
Transport types other than connectionless ones throw UnsupportedOperation.

I didn't extend IoAcceptor because it is much simpler this way.

> Provide an API for connectionless transport types to create a session from IoAcceptor.
> --------------------------------------------------------------------------------------
>
>          Key: DIRMINA-96
>          URL: http://issues.apache.org/jira/browse/DIRMINA-96
>      Project: Directory MINA
>         Type: Improvement
>     Versions: 0.7.4, 0.7.3, 0.7.2, 0.7.1, 0.7
>     Reporter: Trustin Lee
>     Assignee: Trustin Lee
>     Priority: Critical
>      Fix For: 0.8

>
> 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


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

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRMINA-96?page=all ]

Trustin Lee updated DIRMINA-96:
-------------------------------

    Priority: Critical  (was: Major)

> 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


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

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/DIRMINA-96?page=comments#action_12332253 ] 

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

You have to specify local address because you can bind multiple handlers to multiple local addresses.

> 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


[jira] Updated: (DIRMINA-96) Provide an API for connectionless transport types to create a session from IoAcceptor.

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRMINA-96?page=all ]

Trustin Lee updated DIRMINA-96:
-------------------------------

        Summary: Provide an API for connectionless transport types to create a session from IoAcceptor.  (was: Redesign API for connectionless transport types.)
    Fix Version: 0.8
                     (was: 0.9)
        Version: 0.7.4
                 0.7.3
                 0.7.2
                 0.7.1
                 0.7

Decided to resolve this issue in 0.8.

> Provide an API for connectionless transport types to create a session from IoAcceptor.
> --------------------------------------------------------------------------------------
>
>          Key: DIRMINA-96
>          URL: http://issues.apache.org/jira/browse/DIRMINA-96
>      Project: Directory MINA
>         Type: Improvement
>     Versions: 0.7.4, 0.7.3, 0.7.2, 0.7.1, 0.7
>     Reporter: Trustin Lee
>     Assignee: Trustin Lee
>     Priority: Critical
>      Fix For: 0.8

>
> 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


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

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
    [ 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


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

Posted by "Alban Peignier (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/DIRMINA-96?page=comments#action_12332251 ] 

Alban Peignier commented on DIRMINA-96:
---------------------------------------

I like it :o) But in my mind, localAddress is optional (useless ?) because the IoAcceptor is already bound and you want to use this bound local address.

> 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