Package net.i2p.router.client
Class SSLClientListenerRunner
java.lang.Object
net.i2p.router.client.ClientListenerRunner
net.i2p.router.client.SSLClientListenerRunner
- All Implemented Interfaces:
Runnable
SSL version of ClientListenerRunner
- Since:
- 0.8.3
- Author:
- zzz
-
Field Summary
Fields inherited from class net.i2p.router.client.ClientListenerRunner
_bindAllInterfaces, _context, _listening, _log, _manager, _port, _running, _socket, BIND_ALL_INTERFACES, CONNECT_TIMEOUT
-
Constructor Summary
ConstructorDescriptionSSLClientListenerRunner
(RouterContext context, ClientManager manager, int port) -
Method Summary
Modifier and TypeMethodDescriptionprotected ServerSocket
Get a SSLServerSocket.protected void
Create (if necessary) and load the key store, then run.protected boolean
Overridden because SSL handshake may need more time, and available() in super doesn't work.Methods inherited from class net.i2p.router.client.ClientListenerRunner
isListening, run, runConnection, stopListening
-
Constructor Details
-
SSLClientListenerRunner
-
-
Method Details
-
getServerSocket
Get a SSLServerSocket.- Overrides:
getServerSocket
in classClientListenerRunner
- Throws:
IOException
-
runServer
protected void runServer()Create (if necessary) and load the key store, then run.- Overrides:
runServer
in classClientListenerRunner
-
validate
Overridden because SSL handshake may need more time, and available() in super doesn't work. The handshake doesn't start until a read().- Overrides:
validate
in classClientListenerRunner
-