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

Class PolicyActivateListener


Listener to register for recieving Policy Submission events

Instance Methods
 
handle_event(self, event, app_context)
Invoked when a Policy event is received from the network element.

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

Class Variables
  __metaclass__ = ABCMeta
Properties

Inherited from object: __class__

Method Details

handle_event(self, event, app_context)

 

Invoked when a Policy event is received from the network element.
    
@param event: An event object which indicates that an event occurred
in a network element
@type event: L{onep.policyservice.policymap.PolicyActivateEvent>}
    
@param app_context: The app_context is an object that was passed in when
application called an API to add/register the event listener.
The application is responsible for casting the input app_context
to the appropriate class before using it. 

Decorators:
  • @abstractmethod