Hi Ashish,

I am using a TextLineCodecFactory with input as Charset.forName("US-ASCII")
When i try with a Socket, and just send data to the server it does not work
without '\r\n' (this i have confirmed)

Sorry for responding a bit late :)

I will look into CumulativeProtocolDecoder and TextLineDecoder

Thank you,
Mithun

On Mon, Dec 15, 2008 at 4:42 PM, Ashish <[email protected]> wrote:

> You can very well do this in your ProtocolDecoder.
>
> Are you using CumulativeProtocolDecoder or TextLineDecoder?
>
>
> On Mon, Dec 15, 2008 at 2:53 PM, Mithun Gonsalvez
> <[email protected]> wrote:
> > Hi All,
> >
> > I am writing a custom server, which receives a command and the from a map
> > containing different responses, it obtains the selected response and
> > responds. Using CommandPrompt, it works without any problems.
>
> Where it doesn't work?
>
> > The commands that are sent do not contain CR/LF as terminator, instead it
> is
> > ended by a *;* (semi-colon).
> > How do i configure this in Mina?
> >
> > Thank You all In Advance,
> > Mithun Gonsalvez
> >
>
>
>
> --
> thanks
> ashish
>
> Blog: http://www.ashishpaliwal.com/blog
>
> My Photo Galleries: http://www.pbase.com/ashishpaliwal
>

Reply via email to