|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.geronimo.network.protocol.SocketProtocol
org.apache.geronimo.messaging.remotenode.network.CallbackSocketProtocol
SocketProtocol providing asynchronous callbacks upon closure.
| Nested Class Summary | |
static interface |
CallbackSocketProtocol.SocketProtocolListener
When the underlying socket is closed, this callback is called. |
| Constructor Summary | |
CallbackSocketProtocol()
|
|
| Method Summary | |
org.apache.geronimo.network.protocol.Protocol |
cloneProtocol()
|
void |
close()
|
CallbackSocketProtocol.SocketProtocolListener |
getListener()
Gets the listener to be notified upon closure of the underlying socket. |
void |
setListener(CallbackSocketProtocol.SocketProtocolListener aListener)
Sets the listener. |
| Methods inherited from class org.apache.geronimo.network.protocol.SocketProtocol |
accept, clearLinks, drain, flush, getAddress, getCreated, getDownProtocol, getInterface, getLastUsed, getSelectorManager, getSocketChannel, getTimeout, getUpProtocol, isDone, isReuseAddress, isTCPNoDelay, selectionEvent, sendDown, sendUp, serviceRead, setAddress, setDownProtocol, setInterface, setReuseAddress, setSelectorManager, setSocketChannel, setTCPNoDelay, setTimeout, setup, setUpProtocol, teardown |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CallbackSocketProtocol()
| Method Detail |
public void close()
public CallbackSocketProtocol.SocketProtocolListener getListener()
public void setListener(CallbackSocketProtocol.SocketProtocolListener aListener)
aListener - Listener.
public org.apache.geronimo.network.protocol.Protocol cloneProtocol()
throws CloneNotSupportedException
CloneNotSupportedException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||