You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Julien Vermillard (JIRA)" <ji...@apache.org> on 2006/08/16 10:31:17 UTC

[jira] Updated: (DIRMINA-92) Utility classes for asynchronous request-response protocols.

     [ http://issues.apache.org/jira/browse/DIRMINA-92?page=all ]

Julien Vermillard updated DIRMINA-92:
-------------------------------------

    Attachment: queryreply.zip

attached queryreply.zip, the filter based on trustin ideas I use in my apps. WDYT ? I whould like to have comments before finishing it and integrate it in MINA.

Julien

> Utility classes for asynchronous request-response protocols.
> ------------------------------------------------------------
>
>                 Key: DIRMINA-92
>                 URL: http://issues.apache.org/jira/browse/DIRMINA-92
>             Project: Directory MINA
>          Issue Type: New Feature
>    Affects Versions: 0.7
>            Reporter: Trustin Lee
>         Assigned To: Trustin Lee
>         Attachments: Protocol.zip, queryreply.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

        

RE: ASN1

Posted by Benoit Hudzia <be...@gmail.com>.
Ok thanks a lot ... 

I will have a look at it and while I m at it I might also try the fast
infoset specification and give it a go to see if its interesting compared to
the ASN.1 

-----Original Message-----
From: Emmanuel Lecharny [mailto:elecharny@gmail.com] 
Sent: 16 August 2006 16:44
To: mina-dev@directory.apache.org
Subject: Re: ASN1

Well, sorry about that, but the asn1 codec is stiill in the sandbox, and
it's still in its pre-infancy stage. Let's say that it's still "une lueur de
désir" in its parent eyes ;)

We really want to work on it, but time is lacking. However, if you are
interested in a free ASN.1 BER codec, you can use
http://www.mozilla.org/projects/security/pki/jss/. it's not a statefull
codec, and you don't have a compiler, but it's possible to encode and decode
known ASN.1 structures - a little bit like when you parse an XML file -  The
idea behind Apache ASN.1 codec was to implement a statefull codec, generated
by a compiler, which is a little bit more complicated.

Emmanuel Lécharny

On 8/16/06, Benoit Hudzia <be...@gmail.com> wrote:
>
> Hello
>
> After pricking around with mina i decided to test the ASN.1 encoder
> decoder,
> but I cannot figure out where the actual asn.1 encoder decoder is  ....
> I ve been looking inside the apache directory source tree but I don t find
> any class like the one necessary in the mina plug-in for asn1 :
> Example :
>
> import org.apache.directory.shared.asn1.codec.DecoderException;
> import org.apache.directory.shared.asn1.codec.stateful.DecoderCallback;
> import org.apache.directory.shared.asn1.codec.stateful.StatefulDecoder;
> ( after looking at the javadoc of the directory project I cannot find any
> reference )
>
> If anyone can indicate me where I can find the necessary library I would
> be
> thankful.
>
>
>
>


-- 
Cordialement,
Emmanuel Lécharny


Re: ASN1

Posted by Emmanuel Lecharny <el...@gmail.com>.
Well, sorry about that, but the asn1 codec is stiill in the sandbox, and
it's still in its pre-infancy stage. Let's say that it's still "une lueur de
désir" in its parent eyes ;)

We really want to work on it, but time is lacking. However, if you are
interested in a free ASN.1 BER codec, you can use
http://www.mozilla.org/projects/security/pki/jss/. it's not a statefull
codec, and you don't have a compiler, but it's possible to encode and decode
known ASN.1 structures - a little bit like when you parse an XML file -  The
idea behind Apache ASN.1 codec was to implement a statefull codec, generated
by a compiler, which is a little bit more complicated.

Emmanuel Lécharny

On 8/16/06, Benoit Hudzia <be...@gmail.com> wrote:
>
> Hello
>
> After pricking around with mina i decided to test the ASN.1 encoder
> decoder,
> but I cannot figure out where the actual asn.1 encoder decoder is  ....
> I ve been looking inside the apache directory source tree but I don t find
> any class like the one necessary in the mina plug-in for asn1 :
> Example :
>
> import org.apache.directory.shared.asn1.codec.DecoderException;
> import org.apache.directory.shared.asn1.codec.stateful.DecoderCallback;
> import org.apache.directory.shared.asn1.codec.stateful.StatefulDecoder;
> ( after looking at the javadoc of the directory project I cannot find any
> reference )
>
> If anyone can indicate me where I can find the necessary library I would
> be
> thankful.
>
>
>
>


-- 
Cordialement,
Emmanuel Lécharny

ASN1

Posted by Benoit Hudzia <be...@gmail.com>.
Hello

After pricking around with mina i decided to test the ASN.1 encoder decoder,
but I cannot figure out where the actual asn.1 encoder decoder is  ....  
I ve been looking inside the apache directory source tree but I don t find
any class like the one necessary in the mina plug-in for asn1 :
Example : 

import org.apache.directory.shared.asn1.codec.DecoderException;
import org.apache.directory.shared.asn1.codec.stateful.DecoderCallback;
import org.apache.directory.shared.asn1.codec.stateful.StatefulDecoder; 
( after looking at the javadoc of the directory project I cannot find any
reference ) 

If anyone can indicate me where I can find the necessary library I would be
thankful.