The classic client API will be removed in a future release.
@Deprecated public interface ProxyConnector
Such a connector may be set for Server Details using
ServerDetails.setProxyConnector(ProxyConnector)
.
Modifier and Type | Method and Description |
---|---|
SocketChannel |
doHandshake(ServerDetails serverDetails)
Deprecated.
Implementations must provide this method to make a connection via a
Proxy server and return the SocketChannel.
|
SocketChannel doHandshake(ServerDetails serverDetails) throws AuthorisationException, APIException
serverDetails
- the server details specifying details of the
Diffusion server to connect to.AuthorisationException
- if connection is rejected. This will cause
an AuthorisationException to be propagated to the caller without
attempting to select another server.APIException
- if unable to establish a connection.Copyright © 2016 Push Technology Ltd. All Rights Reserved.