Package Anomos :: Module RawServer :: Class RawServer
[hide private]
[frames] | no frames]

Class RawServer

object --+
         |
        RawServer

Instance Methods [hide private]
 
__init__(self, doneflag, config, certificate, noisy=True, bindaddr='', tos=0)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
_close_dead(self)
 
_close_socket(self, s)
 
_handle_connection_attempt(self, sock)
 
_handle_events(self, events)
 
_make_wrapped_call(self, function, args, socket=None, context=None)
 
_pop_externally_added(self)
 
_safe_shutdown(self, s)
 
_start_ssl_connection(self, dns, handler=None, context=None, session=None, do_bind=True, timeout=15)
 
add_context(self, context)
 
add_task(self, func, delay, context=None)
 
create_ssl_serversocket(self, port, bind='', reuse=False, tos=0)
 
external_add_task(self, func, delay, context=None)
Called from a thread other than RawServer's, queues up tasks to be in a threadsafe way
 
listen_forever(self)
 
numsockets(self)
 
register_sock(self, sock, dns, handler=None, context=None)
 
remove_context(self, context)
 
scan_for_timeouts(self)
 
start_listening(self, serversocket, handler, context=None)
 
start_ssl_connection(self, dns, handler=None, context=None, session=None, do_bind=True)
 
stop_listening(self, serversocket)

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, doneflag, config, certificate, noisy=True, bindaddr='', tos=0)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)