Le 11/25/12 5:40 PM, hu yueqi a écrit :
> Hi,
> I'm new here and haven't done a deep digging. So may be it is a problem
> already answered. Anyway, Thanks in advance.
> I using MINA to connect serial port device. I can send msg to my device and
> my device should give me a response. But handle messageReceived seems never
> be reached.
> Well, the funny thing is that, if I use log filter, then log output does
> show message received. Here it is:
> Nov 25, 2012 11:37:10 AM org.apache.mina.filter.logging.LoggingFilter log
> INFO: RECEIVED: HeapBuffer[pos=0 lim=18 cap=18: 61 69 74 69 6E 67 20 66 6F
> 72 20 6C 65 64 20 69...].
> What's it heapbuffer is exactly what I'm looking for, but how can I get
> this msg in my code?
The messageReceived is obviously generated, as it's caught by the logger
filter. What are the other filters you using ?


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 

Reply via email to