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

NFExporterManager manages different NetFlow exporters configured on routers. More...

Public Member Functions

NFExporter createNFExporter (string)
 Creates a NetFlow exporter with the specified name. More...
 
void removeNFExporter (string)
 Removes the NetFlow exporter with the specified name. More...
 
NFExporter getNFExporterAt (int)
 Returns the NetFlow exporter at the specified index. More...
 
NFExporter getNFExporterByName (string)
 Returns the NetFlow exporter with the specified name. More...
 
NFExporter getNFExporterByIpAndPort (ip, int)
 Returns the NetFlow exporter with the specified IP address and UDP port number. More...
 
void removeNFExporterAt (int)
 Removes the NetFlow exporter at the specified index. More...
 
int getNFExporterCount ()
 Returns the number of NetFlow exporters. More...
 

Detailed Description

NFExporterManager manages different NetFlow exporters configured on routers.

Member Function Documentation

◆ createNFExporter()

NFExporter NFExporterManager::createNFExporter ( string  )

Creates a NetFlow exporter with the specified name.

Parameters
exporterName,thename for the NetFlow exporter.
Returns
NFExporter, the NFExporter object of the created NetFlow exporter.

◆ getNFExporterAt()

NFExporter NFExporterManager::getNFExporterAt ( int  )

Returns the NetFlow exporter at the specified index.

Parameters
index,theindex of the NetFlow exporter of interest.
Returns
NFExporter, the NFExporter object at the specified index.

◆ getNFExporterByIpAndPort()

NFExporter NFExporterManager::getNFExporterByIpAndPort ( ip  ,
int   
)

Returns the NetFlow exporter with the specified IP address and UDP port number.

Parameters
ipAddr,theIP address of the NetFlow exporter of interest.
udpPort,theUDP port number of the NetFlow exporter of interest.
Returns
NFExporter, the NFExporter object with the specified name.

◆ getNFExporterByName()

NFExporter NFExporterManager::getNFExporterByName ( string  )

Returns the NetFlow exporter with the specified name.

Parameters
name,thename of the NetFlow exporter of interest.
Returns
NFExporter, the NFExporter object with the specified name.

◆ getNFExporterCount()

int NFExporterManager::getNFExporterCount ( )

Returns the number of NetFlow exporters.

Returns
int, the number of NetFlow exporters.

◆ removeNFExporter()

void NFExporterManager::removeNFExporter ( string  )

Removes the NetFlow exporter with the specified name.

Parameters
exporterName,thename of the NetFlow exporter of interest.

◆ removeNFExporterAt()

void NFExporterManager::removeNFExporterAt ( int  )

Removes the NetFlow exporter at the specified index.

Parameters
index,theindex of the NetFlow exporter of interest.

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