| Package | Description |
|---|---|
| org.jboss.remoting3 |
The base Remoting 3 API package.
|
| org.jboss.remoting3.spi |
Service provider classes and interfaces.
|
| Modifier and Type | Class and Description |
|---|---|
private class |
EndpointImpl.ConnectionCloseHandler |
| Modifier and Type | Field and Description |
|---|---|
private CloseHandler<java.lang.Object> |
EndpointImpl.resourceCloseHandler |
| Modifier and Type | Method and Description |
|---|---|
HandleableCloseable.Key |
HandleableCloseable.addCloseHandler(CloseHandler<? super T> handler)
Add a handler that will be called upon close.
|
| Modifier and Type | Field and Description |
|---|---|
private CloseHandler<? super T> |
AbstractHandleableCloseable.CloseHandlerTask.handler |
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<HandleableCloseable.Key,CloseHandler<? super T>> |
AbstractHandleableCloseable.closeHandlers |
| Modifier and Type | Method and Description |
|---|---|
static CloseHandler<java.lang.Object> |
SpiUtils.asyncClosingCloseHandler(HandleableCloseable<?> c)
A close handler which closes another resource asynchronously.
|
static CloseHandler<java.lang.Object> |
SpiUtils.closingCloseHandler(java.io.Closeable c)
A close handler which closes another resource.
|
| Modifier and Type | Method and Description |
|---|---|
HandleableCloseable.Key |
AbstractHandleableCloseable.addCloseHandler(CloseHandler<? super T> handler)
Add a handler that will be called upon close.
|
static <T> void |
SpiUtils.safeHandleClose(CloseHandler<? super T> handler,
T closed,
java.io.IOException exception)
Safely handle a close notification.
|
| Constructor and Description |
|---|
CloseHandlerTask(CloseHandler<? super T> handler,
java.io.IOException exception) |