public interface ClientContainer
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ClientContainer.ClientHandshakeListener
Called when response is received from the server.
|
| Modifier and Type | Method and Description |
|---|---|
ClientSocket |
openClientSocket(String url,
javax.websocket.ClientEndpointConfig cec,
EndpointWrapper endpoint,
ClientContainer.ClientHandshakeListener handshakeListener,
Map<String,Object> properties)
Open client socket - connect to endpoint specified with
url parameter. |
ClientSocket openClientSocket(String url, javax.websocket.ClientEndpointConfig cec, EndpointWrapper endpoint, ClientContainer.ClientHandshakeListener handshakeListener, Map<String,Object> properties) throws javax.websocket.DeploymentException, IOException
url parameter.url - address where remote service is deployed.cec - endpoint configuration.endpoint - endpoint instance.handshakeListener - handshake listener.properties - properties map.javax.websocket.DeploymentExceptionIOExceptionCopyright © 2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.