| |
- Event(object)
-
- NetworkEvent
class NetworkEvent(Event) |
|
Event received from the network
attributes:
type -- "network"
name -- event type (connect, disconnect, congestion_warning,
congestion_critical, message, message_acked, message_dropped)
channel -- network communication channel involved
message -- message structure from the network (if there is a message) |
|
- Method resolution order:
- NetworkEvent
- Event
- object
Methods defined here:
- getKey(self)
- Get the event key used to lookup a handler for this event
Data and other attributes defined here:
- channel = None
- message = None
- name = ''
- type = 'network'
Methods inherited from Event:
- __init__(self)
- Initialize common event parameters
- getModifiers(self)
- Retrieve a tuple of the active modifier keys
Format is three Boolean values, (shift, control, alt)
- visited(self, key, value=None)
- Check for or register visitation of the given key
key -- an opaque hashable value, normally the node and
field/event as a tuple.
value -- if provided, sets the current value, otherwise
signals that the current value should be returned
return value: previous key value (possibly None)
Data descriptors inherited from Event:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Data and other attributes inherited from Event:
- context = None
- modifiers = (0, 0, 0)
- renderingPass = None
| |