Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
Public Member Functions | List of all members
FlowMonitorManager Class Reference

FlowMonitorManager manages all the flow monitors defined on a device. More...

Public Member Functions

int getMonitorCount ()
 Returns the number of flow monitors. More...
 
FlowMonitor getMonitorAt (int)
 Returns the flow monitor at the specified index. More...
 
FlowMonitor getMonitor (string)
 Returns the flow monitor with the specified name. More...
 
FlowMonitor createMonitor (string)
 Creates a flow monitor with the specified name. More...
 
void removeMonitor (string)
 Removes the flow monitor with the specified name. More...
 

Detailed Description

FlowMonitorManager manages all the flow monitors defined on a device.

Member Function Documentation

◆ createMonitor()

FlowMonitor FlowMonitorManager::createMonitor ( string  )

Creates a flow monitor with the specified name.

Parameters
monitorName,thename of the flow monitor.
Returns
FlowMonitor, the flow monitor with the specified name.

◆ getMonitor()

FlowMonitor FlowMonitorManager::getMonitor ( string  )

Returns the flow monitor with the specified name.

Parameters
monitorName,thename of the flow monitor of interest.
Returns
FlowMonitor, the flow monitor with the specified name.

◆ getMonitorAt()

FlowMonitor FlowMonitorManager::getMonitorAt ( int  )

Returns the flow monitor at the specified index.

Parameters
index,theindex of the flow monitor of interest.
Returns
FlowMonitor, the flow monitor at the specified index.

◆ getMonitorCount()

int FlowMonitorManager::getMonitorCount ( )

Returns the number of flow monitors.

Returns
int, the number of flow monitors.

◆ removeMonitor()

void FlowMonitorManager::removeMonitor ( string  )

Removes the flow monitor with the specified name.

Parameters
monitorName,thename of the flow monitor of interest.

The documentation for this class was generated from the following file: