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/09/22 05:31:27 UTC
[jira] Created: (DIRMINA-92) Utility classes for asynchronous request-response protocols.
Utility classes for asynchronous request-response protocols.
------------------------------------------------------------
Key: DIRMINA-92
URL: http://issues.apache.org/jira/browse/DIRMINA-92
Project: Directory MINA
Type: New Feature
Versions: 0.7
Reporter: Trustin Lee
Assigned to: Trustin Lee
Fix For: 0.8
There are so many existing asynchronous protocols whose messages have request-response structure. A request message usually has a message ID, and the corresponding response message, which makes a pair, contains the message ID in the request message.
It would be great if we can provide a common interface and classes to help users implement this type of protocols easily.
--
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
Re: [jira] Updated: (DIRMINA-92) Utility classes for asynchronous request-response protocols.
Posted by Donald <fl...@gmail.com>.
I like this!
When we can get this Utitity classes?
2005/9/22, Trustin Lee (JIRA) <ji...@apache.org>:
> [ http://issues.apache.org/jira/browse/DIRMINA-92?page=all ]
>
> Trustin Lee updated DIRMINA-92:
> -------------------------------
>
> Attachment: Protocol.zip
>
> This attachment (Protocol.zip) is the contribution from Thomas Muller. We have to review it and create our one.
>
> > Utility classes for asynchronous request-response protocols.
> > ------------------------------------------------------------
> >
> > Key: DIRMINA-92
> > URL: http://issues.apache.org/jira/browse/DIRMINA-92
> > Project: Directory MINA
> > Type: New Feature
> > Versions: 0.7
> > Reporter: Trustin Lee
> > Assignee: Trustin Lee
> > Fix For: 0.8
> > Attachments: Protocol.zip
> >
> > There are so many existing asynchronous protocols whose messages have request-response structure. A request message usually has a message ID, and the corresponding response message, which makes a pair, contains the message ID in the request message.
> > It would be great if we can provide a common interface and classes to help users implement this type of protocols easily.
>
> --
> 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-92) Utility classes for asynchronous request-response protocols.
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/DIRMINA-92?page=all ]
Trustin Lee updated DIRMINA-92:
-------------------------------
Attachment: Protocol.zip
This attachment (Protocol.zip) is the contribution from Thomas Muller. We have to review it and create our one.
> Utility classes for asynchronous request-response protocols.
> ------------------------------------------------------------
>
> Key: DIRMINA-92
> URL: http://issues.apache.org/jira/browse/DIRMINA-92
> Project: Directory MINA
> Type: New Feature
> Versions: 0.7
> Reporter: Trustin Lee
> Assignee: Trustin Lee
> Fix For: 0.8
> Attachments: Protocol.zip
>
> There are so many existing asynchronous protocols whose messages have request-response structure. A request message usually has a message ID, and the corresponding response message, which makes a pair, contains the message ID in the request message.
> It would be great if we can provide a common interface and classes to help users implement this type of protocols easily.
--
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-92) Utility classes for asynchronous request-response protocols.
Posted by "Johannes Zillmann (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/DIRMINA-92?page=all ]
Johannes Zillmann updated DIRMINA-92:
-------------------------------------
Attachment: requestResponse.zip
I have attached a zip with some classes for a 'synchronious' request-response model. May out of topic, may it help...
The solution only wokrs with object serialization i guess.
> Utility classes for asynchronous request-response protocols.
> ------------------------------------------------------------
>
> Key: DIRMINA-92
> URL: http://issues.apache.org/jira/browse/DIRMINA-92
> Project: Directory MINA
> Type: New Feature
> Versions: 0.7
> Reporter: Trustin Lee
> Assignee: Trustin Lee
> Fix For: 0.9.1
> Attachments: Protocol.zip, requestResponse.zip
>
> There are so many existing asynchronous protocols whose messages have request-response structure. A request message usually has a message ID, and the corresponding response message, which makes a pair, contains the message ID in the request message.
> It would be great if we can provide a common interface and classes to help users implement this type of protocols easily.
--
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-92) Utility classes for asynchronous
request-response protocols.
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/DIRMINA-92?page=all ]
Trustin Lee updated DIRMINA-92:
-------------------------------
Fix Version: (was: 0.9.1)
> Utility classes for asynchronous request-response protocols.
> ------------------------------------------------------------
>
> Key: DIRMINA-92
> URL: http://issues.apache.org/jira/browse/DIRMINA-92
> Project: Directory MINA
> Type: New Feature
> Versions: 0.7
> Reporter: Trustin Lee
> Assignee: Trustin Lee
> Attachments: Protocol.zip, requestResponse.zip
>
> There are so many existing asynchronous protocols whose messages have request-response structure. A request message usually has a message ID, and the corresponding response message, which makes a pair, contains the message ID in the request message.
> It would be great if we can provide a common interface and classes to help users implement this type of protocols easily.
--
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-92) Utility classes for asynchronous request-response protocols.
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/DIRMINA-92?page=all ]
Trustin Lee updated DIRMINA-92:
-------------------------------
Fix Version: 0.9.1
(was: 0.8)
> Utility classes for asynchronous request-response protocols.
> ------------------------------------------------------------
>
> Key: DIRMINA-92
> URL: http://issues.apache.org/jira/browse/DIRMINA-92
> Project: Directory MINA
> Type: New Feature
> Versions: 0.7
> Reporter: Trustin Lee
> Assignee: Trustin Lee
> Fix For: 0.9.1
> Attachments: Protocol.zip
>
> There are so many existing asynchronous protocols whose messages have request-response structure. A request message usually has a message ID, and the corresponding response message, which makes a pair, contains the message ID in the request message.
> It would be great if we can provide a common interface and classes to help users implement this type of protocols easily.
--
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-92) Utility classes for asynchronous request-response protocols.
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/DIRMINA-92?page=comments#action_12332220 ]
Trustin Lee commented on DIRMINA-92:
------------------------------------
His implementation is very impressive and provides a lot of features, but it seems like it is designed to be very specific to a specific protocol and management environment IMHO.
Here's my implementation plan:
* RequestMessage which has a method 'getMessageId()' which returns an Object. The messageId type will have to implement equals and hashCode methods properly.
* ResponseMessage which has a method 'getRequestMessageId()' which returns an Object. The constraint is same with that of RequestMessage.
* RequestResponseProtocolFilter that remembers sent RequestMessages and fires an 'exceptionCaught' event with an appropriate 'RequestTimeoutException' to ProtocolHandler if the ResponseMessage is not arriving for certain specified time.
WDYT?
> Utility classes for asynchronous request-response protocols.
> ------------------------------------------------------------
>
> Key: DIRMINA-92
> URL: http://issues.apache.org/jira/browse/DIRMINA-92
> Project: Directory MINA
> Type: New Feature
> Versions: 0.7
> Reporter: Trustin Lee
> Assignee: Trustin Lee
> Fix For: 0.8
> Attachments: Protocol.zip
>
> There are so many existing asynchronous protocols whose messages have request-response structure. A request message usually has a message ID, and the corresponding response message, which makes a pair, contains the message ID in the request message.
> It would be great if we can provide a common interface and classes to help users implement this type of protocols easily.
--
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