Can you show us your complete code ?
Your explanations are too disparate
Regards
Jeff
—
Sent from Mailbox for iPhone
On Sat, Jun 15, 2013 at 9:17 AM, a6965921 <963529987@qq.com> wrote:
> @SuppressWarnings("deprecation")
> @Override
> public void messageReceived(IoSession session, Object message)
> throws Exception {
> System.out.println("receve");
> String str = message.toString();
> System.out.println("receve:"+str);
> if(str.trim().equalsIgnoreCase("quit")){
> session.close();
> return;
> }
>
> Date date = new Date();
> session.write(date.toString());
> System.out.println("receive and send.");
> }
> System.out.println("receve"); is can't run..........
> but console show RECEIVED: HeapBuffer[pos=0 lim=7 cap=2048: 62 75
> 66 66 65 72 00]
> I have try telnet 127.0.0.1 8181 this is run good
>
> --
> View this message in context: http://apache-mina.10907.n7.nabble.com/mina-receive-tp38218p38229.html
> Sent from the Apache MINA Developer Forum mailing list archive at Nabble.com.
|