Package onep :: Package policyservice :: Module classmap :: Class ClassEvent
[frames] | no frames]

Class ClassEvent


Class asynchronous event class

result - enum onep.core.util.OnepStatus type - Class type class_result_list - List of classmap.ClassResultAsync classes

Instance Methods
 
__init__(self, element, base, result, type, reslist)
Constructor for AsyncMsg class.
 
do_event(self, element)
This method invokes the client's ClassEventListener class.
 
__str__(self)
str(x)

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

Class Variables

Inherited from core.event.AsyncMsg.AsyncMsg: OnepAsyncMsgType

Instance Variables

Inherited from core.event.AsyncMsg.AsyncMsg: src_ne

Properties

Inherited from object: __class__

Method Details

__init__(self, element, base, result, type, reslist)
(Constructor)

 

Constructor for AsyncMsg class.

Keyword argument:
eventHandle
    Event ID is a unique ID to identify which event listener
    should receive the event .
type
    Event type, for example OnepConstants.EVENT_TYPE_SYSLOG
    represent a syslog event type.

Overrides: object.__init__
(inherited documentation)

do_event(self, element)

 

This method invokes the client's ClassEventListener class.

Parameters:
  • element (NetworkElement) - The NetworkElement class associated to event.
Overrides: core.event.AsyncMsg.AsyncMsg.do_event

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)