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
FlowRecordManager Class Reference

FlowRecordManager manages all the flow records defined on a device. More...

Public Member Functions

int getRecordCount ()
 Returns the number of flow records. More...
 
FlowRecord getRecordAt (int)
 Returns the flow record at the specified index. More...
 
FlowRecord getRecord (string)
 Returns the flow record with the specified name. More...
 
FlowRecord createRecord (string)
 Creates a flow record with the specified name. More...
 
void removeRecord (string)
 Removes the flow record with the specified name. More...
 

Detailed Description

FlowRecordManager manages all the flow records defined on a device.

Member Function Documentation

◆ createRecord()

FlowRecord FlowRecordManager::createRecord ( string  )

Creates a flow record with the specified name.

Parameters
recordName,thename of the flow record.
Returns
FlowRecord, the FlowRecord object with the specified name.

◆ getRecord()

FlowRecord FlowRecordManager::getRecord ( string  )

Returns the flow record with the specified name.

Parameters
recordName,thename of the flow record of interest.
Returns
FlowRecord, the FlowRecord object with the specified name.

◆ getRecordAt()

FlowRecord FlowRecordManager::getRecordAt ( int  )

Returns the flow record at the specified index.

Parameters
index,theindex of the flow record of interest.
Returns
FlowRecord, the FlowRecord object at the specified index.

◆ getRecordCount()

int FlowRecordManager::getRecordCount ( )

Returns the number of flow records.

Returns
string, the number of flow records.

◆ removeRecord()

void FlowRecordManager::removeRecord ( string  )

Removes the flow record with the specified name.

Parameters
recordName,thename of the flow record of interest.

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