Package common :: Module connection_handlers :: Class GMailQueryReceivedEvent
[hide private]
[frames] | no frames]

Class GMailQueryReceivedEvent

source code


Instance Methods [hide private]
 
generate(self)
Generates new event (sets it's attributes) based on event object.
source code

Inherited from nec.NetworkEvent: __init__, __repr__, __str__, init

Inherited from nec.NetworkEvent (private): _set_kwargs_as_attributes

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

Class Variables [hide private]
  name = 'gmail-notify'
  base_network_events = []
Names of base network events that new event is going to be generated on.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

generate(self)

source code 

Generates new event (sets it's attributes) based on event object.

Base event object name is one of those in base_network_events.

Reference to base event object is stored in self.base_event attribute.

Note that this is a reference, so modifications to that event object are possible before dispatching to Global Events Dispatcher.

Returns:
True if generated event should be dispatched, False otherwise.
Overrides: nec.NetworkEvent.generate
(inherited documentation)

Class Variable Details [hide private]

name

Value:
'gmail-notify'

base_network_events

Names of base network events that new event is going to be generated on.
Value:
[]