[
https://jira.jboss.org/jira/browse/JBREM-1189?page=com.atlassian.jira.plu...
]
Trustin Lee commented on JBREM-1189:
------------------------------------
#1 sounds better to me.
On shutdown, all the clients could be notified with some announcement message before
disconnection though?
Refusing new clients is rather simple - unbinding from the port would be enough.
Graceful connection close
-------------------------
Key: JBREM-1189
URL:
https://jira.jboss.org/jira/browse/JBREM-1189
Project: JBoss Remoting
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: r3 core: api, r3 core: remote
Reporter: David Lloyd
Fix For: 3.1.0.Beta1
Design a mechanism for graceful connection shutdown. This could work in one of a few
ways:
1. Refuse new clients, immediately close all clients, allow outstanding requests to
finish
2. Refuse new clients, keep connection up until all clients are closed and all
outstanding requests to finish
#1 might be better - since requests have a finite lifespan but clients can hang around
indifinitely.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira