Package circuits :: Package net :: Module sockets :: Class Server

Class Server

    object --+            
             |            
  core.Manager --+        
                 |        
core.BaseComponent --+    
                     |    
        core.Component --+
                         |
                        Server
Known Subclasses:

Nested Classes

Inherited from core.Component: __metaclass__

Instance Methods
 
__init__(self, bind, ssl=False, channel='server', **kwargs)
initializes x; see x.__class__.__doc__ for signature
 
close(self, sock=None)
 
write(self, sock, data)
 
broadcast(self, data)

Inherited from core.BaseComponent: __repr__, register, unregister

Inherited from core.Manager: __add__, __iadd__, __isub__, __len__, __sub__, flush, join, push, run, send, start, stop

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

Static Methods

Inherited from core.Component: __new__

Class Variables
  channel = 'server'
The Component's Channel
Instance Variables

Inherited from core.Manager: manager

Properties
  connected
  address
  port

Inherited from core.Manager: name, running, state

Inherited from object: __class__

Method Details

__init__(self, bind, ssl=False, channel='server', **kwargs)
(Constructor)

 

initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

Property Details

connected

Get Method:
unreachable.connected(self)

address

Get Method:
unreachable.address(self)

port

Get Method:
unreachable.port(self)