Ping Class Reference

Manage ping events. More...

#include <ping.h>

Inheritance diagram for Ping:

Plugin

List of all members.

Public Member Functions

 Ping (BotKernel *)
 Construcor.
void setPonged (bool)
 Set ponged value.
bool getPonged ()
 Get ponged value.

Private Attributes

bool ponged
 Indicate if the server has sended a good pong.


Detailed Description

Manage ping events.

This class provides methods to manage ping events and test connection with the server

Definition at line 43 of file ping.h.


Constructor & Destructor Documentation

Ping::Ping ( BotKernel b  ) 


Member Function Documentation

bool Ping::getPonged (  ) 

Get ponged value.

Get ponged value

Returns:
Ponged value

Definition at line 61 of file ping.cpp.

References ponged.

Referenced by checkConnection().

void Ping::setPonged ( bool  value  ) 

Set ponged value.

Set ponged value

Parameters:
value Ponged value

Definition at line 52 of file ping.cpp.

References ponged.

Referenced by checkConnection(), Ping(), and pongMe().


Member Data Documentation

bool Ping::ponged [private]

Indicate if the server has sended a good pong.

Definition at line 47 of file ping.h.

Referenced by getPonged(), and setPonged().


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

Generated on Sun Aug 16 15:28:51 2009 for trustyRC by  doxygen 1.5.8