com.sun.grizzly.websockets
Class WebSocketConnectTask

java.lang.Object
  extended by java.util.concurrent.FutureTask<WebSocket>
      extended by com.sun.grizzly.websockets.WebSocketConnectTask
All Implemented Interfaces:
Runnable, Future<WebSocket>

public class WebSocketConnectTask
extends FutureTask<WebSocket>


Constructor Summary
WebSocketConnectTask(NioClientWebSocket websocket)
           
 
Method Summary
 WebSocket get()
           
 
Methods inherited from class java.util.concurrent.FutureTask
cancel, done, get, isCancelled, isDone, run, runAndReset, set, setException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebSocketConnectTask

public WebSocketConnectTask(NioClientWebSocket websocket)
Method Detail

get

public WebSocket get()
              throws InterruptedException,
                     ExecutionException
Specified by:
get in interface Future<WebSocket>
Overrides:
get in class FutureTask<WebSocket>
Throws:
InterruptedException
ExecutionException


Copyright © 2011 Oracle Corpration. All Rights Reserved.