com.sun.grizzly.util
Interface ConnectionCloseHandlerNotifier

All Known Implementing Classes:
BaseSelectionKeyHandler, CacheableSelectionKeyHandler, DefaultSelectionKeyHandler, SelectorThreadKeyHandler

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 © 2012 Oracle Corporation. All Rights Reserved.