Package circuits :: Package core :: Module bridge :: Class Bridge

Class Bridge

object --+            
         |            
   Manager --+        
             |        
 BaseComponent --+    
                 |    
         Component --+
                     |
                    Bridge

Nested Classes

Inherited from Component: __metaclass__

Instance Methods
 
__init__(self, nodes=[], transport=None, **kwargs)
initializes x; see x.__class__.__doc__ for signature
 
registered(self, c, m)
 
event(self, event, *args, **kwargs)
 
udp(self, channel, e, s)
 
server(self, channel, e, s)
 
client(self, channel, e, s)
 
helo(self, event, address, port)
 
read(self, *args)
 
push_event(self, event)

Inherited from BaseComponent: __repr__, register, unregister

Inherited from 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 Component: __new__

Class Variables
  channel = 'bridge'
The Component's Channel
  IgnoreEvents = [<class 'circuits.net.sockets.Read'>, <class 'c...
  IgnoreChannels = []
Instance Variables

Inherited from Manager: manager

Properties

Inherited from Manager: name, running, state

Inherited from object: __class__

Method Details

__init__(self, nodes=[], transport=None, **kwargs)
(Constructor)

 

initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

event(self, event, *args, **kwargs)

 
Decorators:
  • @handler(filter= True, priority= 100)

helo(self, event, address, port)

 
Decorators:
  • @handler("helo", filter= True)

Class Variable Details

IgnoreEvents

Value:
[<class 'circuits.net.sockets.Read'>,
 <class 'circuits.net.sockets.Write'>,
 <class 'circuits.net.sockets.Error'>,
 <class 'circuits.net.sockets.Close'>]