public class ClientWebsocket extends Object
| Constructor and Description |
|---|
ClientWebsocket(InetAddress remoteAddress,
int remotePort,
SSLConfiguration sslConfiguration)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
connect()
|
Socket |
getSocket()
Get the instance of connected socket.
|
public ClientWebsocket(InetAddress remoteAddress, int remotePort, SSLConfiguration sslConfiguration)
remoteAddress - Remote server address where this sslClientSocket will connect to.remotePort - Remote server port where this sslClientSocket will connect to.sslConfiguration - Contains all the sll certificate related information required to bind the socket
sslClientSocket. If user isn't concern about security of SSL Socket this value
can be set to null.Copyright © 2022. All rights reserved.