class SSLClientListenerRunner extends ClientListenerRunner
_bindAllInterfaces, _context, _listening, _log, _manager, _port, _running, _socket, BIND_ALL_INTERFACES, CONNECT_TIMEOUT
Constructor and Description |
---|
SSLClientListenerRunner(RouterContext context,
ClientManager manager,
int port) |
Modifier and Type | Method and Description |
---|---|
protected ServerSocket |
getServerSocket()
Get a SSLServerSocket.
|
protected void |
runServer()
Create (if necessary) and load the key store, then run.
|
protected boolean |
validate(Socket socket)
Overridden because SSL handshake may need more time,
and available() in super doesn't work.
|
isListening, run, runConnection, stopListening
public SSLClientListenerRunner(RouterContext context, ClientManager manager, int port)
protected ServerSocket getServerSocket() throws IOException
getServerSocket
in class ClientListenerRunner
IOException
protected void runServer()
runServer
in class ClientListenerRunner
protected boolean validate(Socket socket)
validate
in class ClientListenerRunner