@events = $session->getAllEventNames( $class )
The getAllEventNames() function is an alias for getEvents(). The section “getEvents” on page 83 provides additional information.
The getAllEventNames() function gets the list of all events of all types, including symptoms, problems, aggregates, and events, in no particular order.
The getEventNames() call is similar but omits the problems from the list.
@list = $session->getAllEventNames( "Router" );