You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2009/01/07 00:55:44 UTC

[jira] Commented: (DIRMINA-655) Add a more general purpose text based decoder

    [ https://issues.apache.org/jira/browse/DIRMINA-655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661382#action_12661382 ] 

Emmanuel Lecharny commented on DIRMINA-655:
-------------------------------------------

That's an interesting addition.

Just wondering if you also have some unit tests for it ? It would be cool to add something like  the TextLineEncoder/DecoderTest classes to check this regexp codec.

Thanks !

> Add a more general purpose text based decoder
> ---------------------------------------------
>
>                 Key: DIRMINA-655
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-655
>             Project: MINA
>          Issue Type: New Feature
>    Affects Versions: 2.0.0-M4
>         Environment: Mina 2.0.0-M4, Java 1.6, Fedora 10
>            Reporter: Matthieu Chase Heimer
>            Priority: Minor
>         Attachments: RegExDecoder.java
>
>
> There are many text based protocols who have messages that are terminated by a delimiter other than an end of line. A protocol decoder that is more generic than TextLineDecoder would be a nice addition. It should also be easy to extend so developers can focus on coverting text messages to domain objects and not on converting  and parsing IoBuffers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.