|
JBoss Remoting 3.0.0.Beta2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - the type that is passed to the close handlerpublic interface HandleableCloseable<T>

A Remoting resource that can be closed.
| Nested Class Summary | |
|---|---|
static interface |
HandleableCloseable.Key
A key which may be used to remove this handler. |
| Method Summary | |
|---|---|
HandleableCloseable.Key |
addCloseHandler(CloseHandler<? super T> handler)
Add a handler that will be called upon close. |
void |
close()
Close, waiting for any outstanding processing to finish. |
| Method Detail |
|---|
void close()
throws IOException
close in interface CloseableIOException - if the close failedHandleableCloseable.Key addCloseHandler(CloseHandler<? super T> handler)
handler - the close handler
|
JBoss Remoting 3.0.0.Beta2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||