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

Class SyslogEvent


An event which indicates that a syslog event occurred in a Network Element.

Instance Methods
 
__init__(self, element, eventHandle, count, priority, msg)
Constructor - used internally
 
do_event(self, ne)
This method specifies what action to do when an event is processed.

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.EventObject.EventObject: event_handle, event_type

Inherited from core.event.AsyncMsg.AsyncMsg: src_ne

Properties

Inherited from object: __class__

Method Details

__init__(self, element, eventHandle, count, priority, msg)
(Constructor)

 

Constructor - used internally

Parameters:
  • eventHandle - A unique ID to identify which event listener should receive the event .
  • event_type - The type of the event.
Overrides: object.__init__

do_event(self, ne)

 

This method specifies what action to do when an event is processed.

For Syslog Event, the action is invoking the client's event listener.

Parameters:
  • ne - The source of the event. For Syslog Event, the source in an instance of NetworkElement.
Overrides: core.event.AsyncMsg.AsyncMsg.do_event