com.sun.grizzly.util
Interface ConnectionCloseHandlerNotifier


public interface ConnectionCloseHandlerNotifier

General interface for ConnectionCloseHandlers notifiers.

Author:
Alexey Stashok

Method Summary
 void notifyLocallyClose(SelectionKey key)
          Notify a ConnectionCloseHandler that a remote connection has been closed.
 void notifyRemotlyClose(SelectionKey key)
          Notify a ConnectionCloseHandler that a remote connection has been closed.
 

Method Detail

notifyRemotlyClose

void notifyRemotlyClose(SelectionKey key)
Notify a ConnectionCloseHandler that a remote connection has been closed.

Parameters:
key - a Selectionkey

notifyLocallyClose

void notifyLocallyClose(SelectionKey key)
Notify a ConnectionCloseHandler that a remote connection has been closed.

Parameters:
key - a Selectionkey


Copyright © 2009 SUN Microsystems. All Rights Reserved.