Hi everyone,

For some time now, I've been implementing the Styx protocol for distributed
systems in Java using MINA, which is working very well
(http://jstyx.sf.net).  In the Styx world it's quite common for developers
to write Styx programs (peers) that read Styx messages on their standard
input and write Styx message to their standard output, instead of reading
from and writing to a socket connection.  In this way, two peers can
communicate in both directions using pipes:

peer1 <> peer2

Can anyone advise on how best to implement this behaviour using MINA?  Does
the StreamIoHandler have anything to do with this?  I looked through the
source code but couldn't quite figure out how to achieve this.

Thanks in advance,
Jon


-------------------------------------------------------------- 
Dr Jon Blower              Tel: +44 118 378 5213 (direct line) 
Technical Director         Tel: +44 118 378 8741 (ESSC) 
Reading e-Science Centre   Fax: +44 118 378 6413 
ESSC                       Email: [EMAIL PROTECTED] 
University of Reading 
3 Earley Gate 
Reading RG6 6AL, UK 
-------------------------------------------------------------- 
 

Reply via email to