|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.sgs.impl.util.AbstractCompletionFuture<SessionProtocolHandler>
com.sun.sgs.impl.service.session.ClientSessionHandler.SetupCompletionFuture
static class ClientSessionHandler.SetupCompletionFuture
This future is constructed with the RequestCompletionHandler
passed to one of the ProtocolListener's methods: newLogin or relocatedSession.
| Constructor Summary | |
|---|---|
ClientSessionHandler.SetupCompletionFuture(SessionProtocolHandler protocolHandler,
RequestCompletionHandler<SessionProtocolHandler> completionHandler)
Constructs an instance with the specified protocolHandler
and completionHandler. |
|
| Method Summary | |
|---|---|
void |
done()
Indicates that the operation associated with this future is complete and notifies the associated completion handler. |
protected SessionProtocolHandler |
getValue()
Returns the value associated with this future. |
void |
setException(Throwable throwable)
Sets the exception cause for this future to the specified throwable. |
| Methods inherited from class com.sun.sgs.impl.util.AbstractCompletionFuture |
|---|
cancel, get, get, isCancelled, isDone |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
ClientSessionHandler.SetupCompletionFuture(SessionProtocolHandler protocolHandler,
RequestCompletionHandler<SessionProtocolHandler> completionHandler)
protocolHandler
and completionHandler.
protocolHandler - a session protocol handlercompletionHandler - a completionHandler| Method Detail |
|---|
protected SessionProtocolHandler getValue()
getValue in class AbstractCompletionFuture<SessionProtocolHandler>public void setException(Throwable throwable)
throwable. The given exception will be used as
the cause of the ExecutionException thrown by
this future's get methods.
setException in class AbstractCompletionFuture<SessionProtocolHandler>throwable - an exception causepublic void done()
isDone
will return true.
done in class AbstractCompletionFuture<SessionProtocolHandler>
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||