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 beslow 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 fromthe 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
smime.p7s
Description: S/MIME cryptographic signature
