On Apr 1, 2006, at 2:05 PM, Zohar Amir wrote:
I'll try to sum up my problem again:
I have mobile clients connecting to my server via TCP. Clienmts may send more than a single message at a time. Being mobile clients, messages may be
slow in arriving.
All this lead me to try and use the StreamIoHandler. When trying to do so I'm facing a problem with clients that send a single message and then close the connection - this leads to the invocation of the sessionClosed method before the new handling thread gets a chance to read the available data from
the incoming stream.
Can anyone please help me with this?

I highly recommend *not* using the StreamIoHandler. Use the ProtocolCodecFilter to implement your protocol. There are some examples in the mina distribution that illustrate its use.
-pete

--
[EMAIL PROTECTED] - http://fotap.org/~osi


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to