Hi, Folks:

I have a MINA client that acts as a driver for a scientific instrument. The communication is via a serial link using ASCII. The messages from the instrument are usually terminated with a line feed, but are sometimes terminated with a ">" instead (when it is prompting for commands).

Could you please suggest a design pattern that would do this elegantly in MINA? I expect it will use the TextLineCodec and possibly some other filters, but I am fuzzy on the details.

Best regards,
Yigal Rachman

DMAS Data Acquisition Developer
NEPTUNE Canada
University of Victoria,
Victoria, BC, Canada
www.neptunecanada.ca

Reply via email to