public interface WebSocketResponseTokenListener
| Modifier and Type | Method and Description |
|---|---|
long |
getTimeout()
Returns the timeout of the request.
|
void |
OnFailure(Token aToken)
Is fired if token.code does not equal 0 (zero).
|
void |
OnResponse(Token aToken)
Is fired on any response to a send token.
|
void |
OnSuccess(Token aToken)
Is fired if token.code equals 0 (zero).
|
void |
OnTimeout(Token aToken)
Is fired when the given response timeout is exceeded.
|
void |
setTimeout(long aTimeout)
Specifies the timeout of the request.
|
long getTimeout()
void setTimeout(long aTimeout)
aTimeout - void OnTimeout(Token aToken)
aToken - void OnResponse(Token aToken)
aToken - void OnSuccess(Token aToken)
aToken - void OnFailure(Token aToken)
aToken - Copyright © 2013. All Rights Reserved.