|
|
@ -332,6 +332,8 @@ public class DefaultServer implements Server |
|
|
|
|
|
|
|
|
|
|
|
protected void connectionClosed( Endpoint p ) |
|
|
|
protected void connectionClosed( Endpoint p ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
log.log( Level.INFO, "Connection closed:{0}.", p ); |
|
|
|
|
|
|
|
|
|
|
|
// Try to find the endpoint in all ways that it might
|
|
|
|
// Try to find the endpoint in all ways that it might
|
|
|
|
// exist. Note: by this point the channel is closed
|
|
|
|
// exist. Note: by this point the channel is closed
|
|
|
|
// already.
|
|
|
|
// already.
|
|
|
@ -355,6 +357,8 @@ public class DefaultServer implements Server |
|
|
|
// so always do this outside the synch block.
|
|
|
|
// so always do this outside the synch block.
|
|
|
|
if( removed != null ) { |
|
|
|
if( removed != null ) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
log.log( Level.INFO, "Client closed:{0}.", removed ); |
|
|
|
|
|
|
|
|
|
|
|
// Make sure both endpoints are closed. Note: reliable
|
|
|
|
// Make sure both endpoints are closed. Note: reliable
|
|
|
|
// should always already be closed through all paths that I
|
|
|
|
// should always already be closed through all paths that I
|
|
|
|
// can conceive... but it doesn't hurt to be sure.
|
|
|
|
// can conceive... but it doesn't hurt to be sure.
|
|
|
|