Package common :: Module nec :: Class NetworkEventsController
[hide private]
[frames] | no frames]

Class NetworkEventsController

source code


Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
register_incoming_event(self, event_class) source code
 
unregister_incoming_event(self, event_class) source code
 
register_outgoing_event(self, event_class) source code
 
unregister_outgoing_event(self, event_class) source code
 
push_incoming_event(self, event_object) source code
 
push_outgoing_event(self, event_object) source code
 
_generate_events_based_on_incoming_event(self, event_object)
Events Dispatcher, False otherwise.
source code

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

Instance Variables [hide private]
  incoming_events_generators
Keys: names of events Values: list of class objects that are subclasses of NetworkIncomingEvent
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

register_incoming_event(self, event_class)

source code 

unregister_incoming_event(self, event_class)

source code 

register_outgoing_event(self, event_class)

source code 

unregister_outgoing_event(self, event_class)

source code 

push_incoming_event(self, event_object)

source code 

push_outgoing_event(self, event_object)

source code 

_generate_events_based_on_incoming_event(self, event_object)

source code 
Events Dispatcher, False otherwise. This can be used to replace base events with those that more data computed (easier to use by handlers). :note: replacing mechanism is not implemented currently, but will be based on attribute in new network events object.
Returns:
True if even_object should be dispatched through Global

Instance Variable Details [hide private]

incoming_events_generators

Keys: names of events Values: list of class objects that are subclasses of NetworkIncomingEvent