Le 11/5/12 4:17 PM, daniel vettori a écrit :
suppose three clients and one server are there....now one client connects
to server..and at that time, dont want other two clients to interact with
socket server untill the processing of message based on delimiter get over
between server and the first client.......
There is nothing you can do on the server to forbid a client to actually
send some message to the server. This is a server...
What you can do is to send a message to all the clients telling them
that they should not send a message until the server send a ack to them,
assumin the clients *will* respect this information. Again, this is all
related to the protocol you define, it has nothing to do with the MINA
API or whatever IO.
This is really a bizare requirement...
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com