| Package | Description |
|---|---|
| org.glassfish.grizzly | |
| org.glassfish.grizzly.nio |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Connection.CloseListener
Deprecated.
use
CloseListener |
interface |
GenericCloseListener
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Connection.addCloseListener(CloseListener closeListener)
Add the
Connection.CloseListener, which will be notified once Connection
will be closed. |
void |
Closeable.addCloseListener(CloseListener closeListener)
Add the
CloseListener, which will be notified once the stream
will be closed. |
boolean |
Connection.removeCloseListener(CloseListener closeListener)
Remove the
Connection.CloseListener. |
boolean |
Closeable.removeCloseListener(CloseListener closeListener)
Remove the
CloseListener. |
| Modifier and Type | Method and Description |
|---|---|
void |
NIOConnection.addCloseListener(CloseListener closeListener)
Add the
Connection.CloseListener, which will be notified once Connection
will be closed. |
boolean |
NIOConnection.removeCloseListener(CloseListener closeListener)
Remove the
Connection.CloseListener. |
Copyright © 2014 Oracle Corporation. All Rights Reserved.