public class JavaxWebsocketFuture extends Object implements Future<javax.net.websocket.SendResult>
Constructor and Description |
---|
JavaxWebsocketFuture(FrameBytes bytes) |
Modifier and Type | Method and Description |
---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
javax.net.websocket.SendResult |
get() |
javax.net.websocket.SendResult |
get(long timeout,
TimeUnit unit) |
boolean |
isCancelled() |
boolean |
isDone() |
public JavaxWebsocketFuture(FrameBytes bytes)
public boolean cancel(boolean mayInterruptIfRunning)
cancel
in interface Future<javax.net.websocket.SendResult>
public javax.net.websocket.SendResult get() throws InterruptedException, ExecutionException
get
in interface Future<javax.net.websocket.SendResult>
InterruptedException
ExecutionException
public javax.net.websocket.SendResult get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get
in interface Future<javax.net.websocket.SendResult>
InterruptedException
ExecutionException
TimeoutException
public boolean isCancelled()
isCancelled
in interface Future<javax.net.websocket.SendResult>
public boolean isDone()
isDone
in interface Future<javax.net.websocket.SendResult>
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.