public abstract class AbstractRpcContext extends java.lang.Object implements SupportRpcContext
Constructor and Description |
---|
AbstractRpcContext() |
Modifier and Type | Method and Description |
---|---|
int |
addContext(Closeable obj) |
void |
closeAllContexts() |
Closeable |
removeContext(int sid) |
<T> T |
removeContext(int sid,
T hint) |
public void closeAllContexts()
closeAllContexts
in interface SupportRpcContext
public Closeable removeContext(int sid)
removeContext
in interface SupportRpcContext
public <T> T removeContext(int sid, T hint)
removeContext
in interface SupportRpcContext
public int addContext(Closeable obj)
addContext
in interface SupportRpcContext