com.sun.grizzly.websockets
Class WebSocketCloseHandler
java.lang.Object
com.sun.grizzly.websockets.WebSocketCloseHandler
- All Implemented Interfaces:
- ConnectionCloseHandler
public class WebSocketCloseHandler
- extends Object
- implements ConnectionCloseHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebSocketCloseHandler
public WebSocketCloseHandler()
locallyClosed
public void locallyClosed(SelectionKey key)
- Description copied from interface:
ConnectionCloseHandler
- Invoked when the a
SelectionKey
is cancelled locally, e.g. by
one SelectorHandler
, ConnectionHandler
or SelectionKeyHandler
- Specified by:
locallyClosed
in interface ConnectionCloseHandler
- Parameters:
key
- a SelectionKey
remotlyClosed
public void remotlyClosed(SelectionKey key)
- Description copied from interface:
ConnectionCloseHandler
- Invoked when a remote connection is being closed.
- Specified by:
remotlyClosed
in interface ConnectionCloseHandler
- Parameters:
key
- a SelectionKey
Copyright © 2012 Oracle Corporation. All Rights Reserved.