Package onep :: Package location :: Module location :: Class LocationChangeEvent
[frames] | no frames]

Class LocationChangeEvent


The LocationChangeEvent is sent whenever a Location related event notification is needed. The event is passed to the event listener if Location.add_change_listener() has been called for the affected Location. The LocationChangeEvent allows the receiving application to discover the type of event and information related to it.

<p> Location change event information contains: <ul> <li>How the associated Location was changed <li>What information was changed <li>The associated Location object </ul> </p>

Instance Methods
 
__init__(self, element, eventHandle, location, sybtype_list, changer)
Constructor for EventObject class.
 
has_subtype(self, subtype)
This method is used to query whether or not a specific type of location information subtype exists.
 
do_event(self, network_element)
Internal Use Only

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

Class Variables

Inherited from core.event.AsyncMsg.AsyncMsg: OnepAsyncMsgType

Instance Variables

Inherited from core.event.EventObject.EventObject: event_handle, event_type

Inherited from core.event.AsyncMsg.AsyncMsg: src_ne

Properties

Inherited from object: __class__

Method Details

__init__(self, element, eventHandle, location, sybtype_list, changer)
(Constructor)

 

Constructor for EventObject class.

Parameters:
  • eventHandle - A unique ID to identify which event listener should receive the event .
  • event_type - The type of the event.
Overrides: object.__init__
(inherited documentation)

do_event(self, network_element)

 

Internal Use Only

Overrides: core.event.AsyncMsg.AsyncMsg.do_event