Hi,

Which decoder are you using?

You can define your own protocol encoders and decoders which can handle the data in whatever way you choose - you simply get a ByteBuffer which you can decode.

Robert


[EMAIL PROTECTED]

13/07/2006 22:42
Please respond to mina-dev

       
        To:        [email protected]
        cc:        
        Subject:        Re: messageReceived() & dataRead() not called when Commons.TelnetClient sends messages



I have resolved the problem: the TelnetClient did not append a new line to
the end of each write. I didn't realise that MINA IoHandler required a
newline in order to receive a line of data. I am curious as to how other
MINA users have resolved this when their incoming data did not include
newlines ('\n'), and they didn't have control over the client. Thanks for
your help.
  Best Regards,
               Elizabeth Clause



This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market prices,
data and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries
and affiliates.

Reply via email to