| |
- spug.io.proactor.ConnectHandler
-
- io.SSLServer.SSLConnectHandler
- spug.io.proactor.DataHandler
-
- io.SSLServer.SSLDataHandler
class SSLDataHandler(spug.io.proactor.DataHandler) |
| |
Methods defined here:
- __del__(self)
- __init__(self, delegate, keyFile, certFile)
- parms:
delegate::
[@DataHandler] we pass all method invocations to this object as
soon as the SSL initialization sequence is established.
keyFile::
[string] name of the SSL private key file
certFile::
[string] name of the SSL certificate file
- get(self, size)
- handleConnect(self)
- peek(self, size)
- put(self, data)
- readyToClose(self)
- readyToGet(self)
- readyToPut(self)
Data and other attributes defined here:
- ACCEPTING = 'ACCEPTING'
- CLOSED = 'CLOSED'
- CONNECTED = 'CONNECTED'
- SHUTDOWN_PENDING = 'SHUTDOWN_PENDING'
Methods inherited from spug.io.proactor.DataHandler:
- handleDisconnect(self)
- Called by Proactor when the connection disconnects.
The handler should not attempt to deregister the object from the
proactor - this will be done automatically by the proactor.
May be implemented by derived classes, base class implementation does
nothing.
- handleError(self)
- Called by Proactor when an error occurs on the stream.
May be implemented by derived classes, base class implementation
deregisters.
| |