SslAcceptor
Extends NetAcceptor, implements a SSL server (TCP server using SSL over incoming connections).
How it works
- a regular Tcp client is accepted.
- the FilterHandler is called right after the Tcp accept.
- if the FilterHandler returns false, the Tcp client socket is closed, no notification is sent to application. STOP.
- the SSL handshake takes place.
- if the handshake fails, the Tcp client socket is closed, no notification is sent to application. STOP.
- on handshake success, the application is notified by AcceptHandler, receiving a fully connected SslConnection object. STOP.
See SslConnection for further details on using and closing the SslConnection.
