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

PortKeepAliveProcess handles the keepalive process on a device port. More...

Inheritance diagram for PortKeepAliveProcess:
Process FrameRelayProcess PppProcess

Public Member Functions

void setKeepAliveOn (bool)
 
bool isKeepAliveOn ()
 Returns true if keepalive is enabled, otherwise false. More...
 
void setKeepAliveInterval (int)
 Sets the keepalive interval. More...
 
int getKeepAliveInterval ()
 Returns the keepalive interval. More...
 
- Public Member Functions inherited from Process
Device getOwnerDevice ()
 Returns the device for this process. More...
 

Detailed Description

PortKeepAliveProcess handles the keepalive process on a device port.

Member Function Documentation

◆ getKeepAliveInterval()

int PortKeepAliveProcess::getKeepAliveInterval ( )

Returns the keepalive interval.

Returns
int, the keepalive interval.

◆ isKeepAliveOn()

bool PortKeepAliveProcess::isKeepAliveOn ( )

Returns true if keepalive is enabled, otherwise false.

Returns
bool, true if keepalive is enabled, otherwise false.

◆ setKeepAliveInterval()

void PortKeepAliveProcess::setKeepAliveInterval ( int  )

Sets the keepalive interval.

Parameters
interval,theinterval for keepalive.

◆ setKeepAliveOn()

void PortKeepAliveProcess::setKeepAliveOn ( bool  )

\Enables or disables keepalive.

Parameters
bOn,trueto enable keepalive, false to disable it.

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