Package | Description |
---|---|
org.jboss.remoting3 |
The base Remoting 3 API package.
|
org.jboss.remoting3.spi |
Service provider classes and interfaces.
|
Modifier and Type | Method and Description |
---|---|
HandleableCloseable.Key |
LegacyEndpoint.addCloseHandler(CloseHandler<? super Endpoint> handler)
Deprecated.
|
HandleableCloseable.Key |
HandleableCloseable.addCloseHandler(CloseHandler<? super T> handler)
Add a handler that will be called upon close.
|
Modifier and Type | Method and Description |
---|---|
static CloseHandler<Object> |
SpiUtils.asyncClosingCloseHandler(HandleableCloseable<?> c)
A close handler which closes another resource asynchronously.
|
static CloseHandler<Object> |
SpiUtils.closingCloseHandler(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,
IOException exception)
Safely handle a close notification.
|
Copyright © 2021 JBoss by Red Hat. All rights reserved.