Package onep :: Package element :: Module ConnectionEvent :: Class ConnectionEvent
[frames] | no frames]

Class ConnectionEvent


An event which indicates that a connection event occurred in a network element

Instance Methods
 
__init__(self, elem, state)
Constructor for the ConnectionEvent class.
 
doEvent(self, source)
This method specifies what action to do when a event is processed in the event queue.

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

Class Variables
  state = NetworkElement.OnepSessionState.ONEP_STATE_DISCONNECTED
Properties

Inherited from object: __class__

Method Details

__init__(self, elem, state)
(Constructor)

 

Constructor for the ConnectionEvent class.

Parameters:
  • elem - The network element that triggers the event.
  • state - State of the connection.
Overrides: object.__init__

doEvent(self, source)

 

This method specifies what action to do when a event is processed in the event queue.

Parameters:
  • source - The source of the event.