@Override public Session connectToServer(Class annotatedEndpointClass, URI path) throws DeploymentException, IOException { return getClientManager().connectToServer(annotatedEndpointClass, path); }
@Override public Session connectToServer(Class<? extends Endpoint> endpointClass, ClientEndpointConfig cec, URI path) throws DeploymentException, IOException { return getClientManager().connectToServer(endpointClass, cec, path); }
@Override public Session connectToServer(Endpoint endpointInstance, ClientEndpointConfig cec, URI path) throws DeploymentException, IOException { return getClientManager().connectToServer(endpointInstance, cec, path); }
@Override public Session connectToServer(Object annotatedEndpointInstance, URI path) throws DeploymentException, IOException { return getClientManager().connectToServer(annotatedEndpointInstance, path); }
@Override public Session connectToServer(Class<? extends Endpoint> endpointClass, ClientEndpointConfig cec, URI path) throws DeploymentException, IOException { return getClientManager().connectToServer(endpointClass, cec, path); }
@Override public Session connectToServer(Endpoint endpointInstance, ClientEndpointConfig cec, URI path) throws DeploymentException, IOException { return getClientManager().connectToServer(endpointInstance, cec, path); }
@Override public Session connectToServer(Class annotatedEndpointClass, URI path) throws DeploymentException, IOException { return getClientManager().connectToServer(annotatedEndpointClass, path); }
@Override public Session connectToServer(Object annotatedEndpointInstance, URI path) throws DeploymentException, IOException { return getClientManager().connectToServer(annotatedEndpointInstance, path); }
/** * Non-blocking version of {@link javax.websocket.WebSocketContainer#connectToServer(Object, java.net.URI)}. * <p> * Only simple checks are performed in the main thread; client container is created in different thread, same * applies to connecting etc. * * @param obj the annotated websocket client endpoint instance. * @param path the complete path to the server endpoint. * @return the Session created if the connection is successful. * @throws DeploymentException if the annotated endpoint instance is not valid. * @see javax.websocket.WebSocketContainer#connectToServer(Object, java.net.URI) */ public Future<Session> asyncConnectToServer(Object obj, URI path) throws DeploymentException { return getClientManager().asyncConnectToServer(obj, path); }
/** * Non-blocking version of {@link javax.websocket.WebSocketContainer#connectToServer(Class, java.net.URI)}. * <p> * Only simple checks are performed in the main thread; client container is created in different thread, same * applies to connecting etc. * * @param annotatedEndpointClass the annotated websocket client endpoint. * @param path the complete path to the server endpoint. * @return Future for the Session created if the connection is successful. * @throws DeploymentException if the class is not a valid annotated endpoint class. */ public Future<Session> asyncConnectToServer(Class<?> annotatedEndpointClass, URI path) throws DeploymentException { return getClientManager().asyncConnectToServer(annotatedEndpointClass, path); }
/** * Non-blocking version of {@link javax.websocket.WebSocketContainer#connectToServer(Class, java.net.URI)}. * <p> * Only simple checks are performed in the main thread; client container is created in different thread, same * applies to connecting etc. * * @param annotatedEndpointClass the annotated websocket client endpoint. * @param path the complete path to the server endpoint. * @return Future for the Session created if the connection is successful. * @throws DeploymentException if the class is not a valid annotated endpoint class. */ public Future<Session> asyncConnectToServer(Class<?> annotatedEndpointClass, URI path) throws DeploymentException { return getClientManager().asyncConnectToServer(annotatedEndpointClass, path); }
/** * Non-blocking version of {@link javax.websocket.WebSocketContainer#connectToServer(Object, java.net.URI)}. * <p> * Only simple checks are performed in the main thread; client container is created in different thread, same * applies to connecting etc. * * @param obj the annotated websocket client endpoint instance. * @param path the complete path to the server endpoint. * @return the Session created if the connection is successful. * @throws DeploymentException if the annotated endpoint instance is not valid. * @see javax.websocket.WebSocketContainer#connectToServer(Object, java.net.URI) */ public Future<Session> asyncConnectToServer(Object obj, URI path) throws DeploymentException { return getClientManager().asyncConnectToServer(obj, path); }
/** * Non-blocking version of {@link javax.websocket.WebSocketContainer#connectToServer(javax.websocket.Endpoint, * javax.websocket.ClientEndpointConfig, java.net.URI)}. * <p> * Only simple checks are performed in the main thread; client container is created in different thread, same * applies to connecting etc. * * @param endpointInstance the programmatic client endpoint instance {@link Endpoint}. * @param path the complete path to the server endpoint. * @param cec the configuration used to configure the programmatic endpoint. * @return the Session created if the connection is successful. * @throws DeploymentException if the configuration is not valid * @see javax.websocket.WebSocketContainer#connectToServer(javax.websocket.Endpoint, * javax.websocket.ClientEndpointConfig, java.net.URI) */ public Future<Session> asyncConnectToServer(Endpoint endpointInstance, ClientEndpointConfig cec, URI path) throws DeploymentException { return getClientManager().asyncConnectToServer(endpointInstance, cec, path); }
/** * Non-blocking version of {@link javax.websocket.WebSocketContainer#connectToServer(Class, * javax.websocket.ClientEndpointConfig, java.net.URI)}. * <p> * Only simple checks are performed in the main thread; client container is created in different thread, same * applies to connecting etc. * * @param endpointClass the programmatic client endpoint class {@link Endpoint}. * @param path the complete path to the server endpoint. * @param cec the configuration used to configure the programmatic endpoint. * @return the Session created if the connection is successful. * @throws DeploymentException if the configuration is not valid * @see javax.websocket.WebSocketContainer#connectToServer(Class, javax.websocket.ClientEndpointConfig, * java.net.URI) */ public Future<Session> asyncConnectToServer(Class<? extends Endpoint> endpointClass, ClientEndpointConfig cec, URI path) throws DeploymentException { return getClientManager().asyncConnectToServer(endpointClass, cec, path); }
/** * Non-blocking version of {@link javax.websocket.WebSocketContainer#connectToServer(Class, * javax.websocket.ClientEndpointConfig, java.net.URI)}. * <p> * Only simple checks are performed in the main thread; client container is created in different thread, same * applies to connecting etc. * * @param endpointClass the programmatic client endpoint class {@link Endpoint}. * @param path the complete path to the server endpoint. * @param cec the configuration used to configure the programmatic endpoint. * @return the Session created if the connection is successful. * @throws DeploymentException if the configuration is not valid * @see javax.websocket.WebSocketContainer#connectToServer(Class, javax.websocket.ClientEndpointConfig, * java.net.URI) */ public Future<Session> asyncConnectToServer(Class<? extends Endpoint> endpointClass, ClientEndpointConfig cec, URI path) throws DeploymentException { return getClientManager().asyncConnectToServer(endpointClass, cec, path); }
/** * Non-blocking version of {@link javax.websocket.WebSocketContainer#connectToServer(javax.websocket.Endpoint, * javax.websocket.ClientEndpointConfig, java.net.URI)}. * <p> * Only simple checks are performed in the main thread; client container is created in different thread, same * applies to connecting etc. * * @param endpointInstance the programmatic client endpoint instance {@link Endpoint}. * @param path the complete path to the server endpoint. * @param cec the configuration used to configure the programmatic endpoint. * @return the Session created if the connection is successful. * @throws DeploymentException if the configuration is not valid * @see javax.websocket.WebSocketContainer#connectToServer(javax.websocket.Endpoint, * javax.websocket.ClientEndpointConfig, java.net.URI) */ public Future<Session> asyncConnectToServer(Endpoint endpointInstance, ClientEndpointConfig cec, URI path) throws DeploymentException { return getClientManager().asyncConnectToServer(endpointInstance, cec, path); }