public static interface TyrusClientEngine.ClientHandshakeListener
Modifier and Type | Method and Description |
---|---|
void |
onError(Throwable exception)
Called when an error is found in handshake response.
|
void |
onSessionCreated(javax.websocket.Session session)
Invoked when handshake is completed and provided
Session is open and ready to be returned from
WebSocketContainer.connectToServer(Class, javax.websocket.ClientEndpointConfig, java.net.URI) (and
alternatives) call. |
void onSessionCreated(javax.websocket.Session session)
Session
is open and ready to be returned from
WebSocketContainer.connectToServer(Class, javax.websocket.ClientEndpointConfig, java.net.URI)
(and
alternatives) call.session
- opened client session.void onError(Throwable exception)
exception
- error found during handshake response check.Copyright © 2012-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.