Package onep :: Package applmgmt :: Module ApplicationExecCliListener :: Class ApplicationExecCliListener
[frames] | no frames]

Class ApplicationExecCliListener


The listener interface for receiving Exec/showdata events. The class that is interested in processing a ConfigNotification event should implement this interface.

Instance Methods
 
handle_event(self, cli_data, client_data)
Invoked when the Exec/showdata event is received from the network element.

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

Properties

Inherited from object: __class__

Method Details

handle_event(self, cli_data, client_data)

 

Invoked when the Exec/showdata event is received from the network element.

This method must be over-ridden in the class implementing this interface.

The over-riding method must return a string response.

Parameters:
  • cli_data - A cli_data object.
  • client_data - The client_data is an object that was passed in when the application called an API to add/register the event listener. The application is responsible for casting the input client_data to the appropriate class before using it.