The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

HandshakeTimer Class Reference

#include <handshaketimer.h>

Inheritance diagram for HandshakeTimer:

Inheritance graph
[legend]
Collaboration diagram for HandshakeTimer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 HandshakeTimer (InspIRCd *Inst, TreeSocket *s, Link *l, SpanningTreeUtilities *u, int delay)
virtual void Tick (time_t TIME)
 Called when the timer ticks.

Private Attributes

InspIRCdInstance
TreeSocketsock
Linklnk
SpanningTreeUtilitiesUtils
int thefd

Detailed Description

Definition at line 24 of file handshaketimer.h.


Constructor & Destructor Documentation

HandshakeTimer::HandshakeTimer InspIRCd Inst,
TreeSocket s,
Link l,
SpanningTreeUtilities u,
int  delay
 

Definition at line 31 of file handshaketimer.cpp.

References BufferedSocket::GetFd(), sock, and thefd.

Referenced by Tick().


Member Function Documentation

void HandshakeTimer::Tick time_t  TIME  )  [virtual]
 

Called when the timer ticks.

You should override this method with some useful code to handle the tick event.

Implements Timer.

Definition at line 36 of file handshaketimer.cpp.

References TimerManager::AddTimer(), SpanningTreeUtilities::Creator, TreeSocket::GetHook(), SocketEngine::GetRef(), HandshakeTimer(), Instance, lnk, InspIRCd::SE, TreeSocket::SendCapabilities(), sock, thefd, InspIRCd::Timers, and Utils.


Member Data Documentation

InspIRCd* HandshakeTimer::Instance [private]
 

Definition at line 27 of file handshaketimer.h.

Referenced by Tick().

Link* HandshakeTimer::lnk [private]
 

Definition at line 29 of file handshaketimer.h.

Referenced by Tick().

TreeSocket* HandshakeTimer::sock [private]
 

Definition at line 28 of file handshaketimer.h.

Referenced by HandshakeTimer(), and Tick().

int HandshakeTimer::thefd [private]
 

Definition at line 31 of file handshaketimer.h.

Referenced by HandshakeTimer(), and Tick().

SpanningTreeUtilities* HandshakeTimer::Utils [private]
 

Definition at line 30 of file handshaketimer.h.

Referenced by Tick().


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