Package onep :: Package policyservice :: Module policymap :: Class PolicyStatsEvent
[frames] | no frames]

Class PolicyStatsEvent


Policy asynchronous event class

result - enum onep.core.util.OnepStatus type - Class type policy_result_list - List of classmap.PolicyResultAsync classes

Instance Methods
 
__init__(self, element, sess_handle, event_handle, reslist)
Constructor for AsyncMsg class.
 
event_process(self, reslist, objects)

Inherited from PolicyEvent: do_event

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.AsyncMsg.AsyncMsg: src_ne

Properties

Inherited from object: __class__

Method Details

__init__(self, element, sess_handle, event_handle, 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)