org.granite.client.messaging.channel
Class ImmediateFailureResponseMessageFuture
java.lang.Object
org.granite.client.messaging.channel.ImmediateFailureResponseMessageFuture
- All Implemented Interfaces:
- ResponseMessageFuture
public class ImmediateFailureResponseMessageFuture
- extends Object
- implements ResponseMessageFuture
- Author:
- Franck WOLFF
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImmediateFailureResponseMessageFuture
public ImmediateFailureResponseMessageFuture(Exception cause)
cancel
public boolean cancel()
- Specified by:
cancel in interface ResponseMessageFuture
get
public ResponseMessage get()
throws InterruptedException,
ExecutionException,
TimeoutException
- Specified by:
get in interface ResponseMessageFuture
- Throws:
InterruptedException
ExecutionException
TimeoutException
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled in interface ResponseMessageFuture
isDone
public boolean isDone()
- Specified by:
isDone in interface ResponseMessageFuture