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

Link Class Reference

The Link class might as well be a struct, but this is C++ and we don't believe in structs (!). More...

#include <link.h>

Inheritance diagram for Link:

Inheritance graph
[legend]
Collaboration diagram for Link:

Collaboration graph
[legend]
List of all members.

Public Attributes

irc::string Name
std::string IPAddr
int Port
std::string SendPass
std::string RecvPass
std::string AllowMask
unsigned long AutoConnect
time_t NextConnectTime
bool HiddenFromStats
std::string FailOver
std::string Hook
int Timeout
std::string Bind
bool Hidden

Detailed Description

The Link class might as well be a struct, but this is C++ and we don't believe in structs (!).

It holds the entire information of one <link> tag from the main config file. We maintain a list of them, and populate the list on rehash/load.

Definition at line 23 of file link.h.


Member Data Documentation

std::string Link::AllowMask
 

Definition at line 31 of file link.h.

Referenced by SpanningTreeUtilities::ReadConfiguration().

unsigned long Link::AutoConnect
 

Definition at line 32 of file link.h.

Referenced by SpanningTreeUtilities::ReadConfiguration().

std::string Link::Bind
 

Definition at line 38 of file link.h.

Referenced by ModuleSpanningTree::ConnectServer(), ServernameResolver::OnLookupComplete(), and SpanningTreeUtilities::ReadConfiguration().

std::string Link::FailOver
 

Definition at line 35 of file link.h.

Referenced by SpanningTreeUtilities::DoFailOver(), and SpanningTreeUtilities::ReadConfiguration().

bool Link::Hidden
 

Definition at line 39 of file link.h.

Referenced by TreeSocket::ProcessLine(), SpanningTreeUtilities::ReadConfiguration(), and TreeSocket::RemoteServer().

bool Link::HiddenFromStats
 

Definition at line 34 of file link.h.

Referenced by SpanningTreeUtilities::ReadConfiguration().

std::string Link::Hook
 

Definition at line 36 of file link.h.

Referenced by ModuleSpanningTree::ConnectServer(), ServernameResolver::OnLookupComplete(), and SpanningTreeUtilities::ReadConfiguration().

std::string Link::IPAddr
 

Definition at line 27 of file link.h.

Referenced by ModuleSpanningTree::ConnectServer(), and SpanningTreeUtilities::ReadConfiguration().

irc::string Link::Name
 

Definition at line 26 of file link.h.

Referenced by ModuleSpanningTree::ConnectServer(), SpanningTreeUtilities::DoFailOver(), SecurityIPResolver::OnError(), ServernameResolver::OnError(), ServernameResolver::OnLookupComplete(), and SpanningTreeUtilities::ReadConfiguration().

time_t Link::NextConnectTime
 

Definition at line 33 of file link.h.

Referenced by SpanningTreeUtilities::ReadConfiguration().

int Link::Port
 

Definition at line 28 of file link.h.

Referenced by ModuleSpanningTree::ConnectServer(), ServernameResolver::OnLookupComplete(), and SpanningTreeUtilities::ReadConfiguration().

std::string Link::RecvPass
 

Definition at line 30 of file link.h.

Referenced by SpanningTreeUtilities::ReadConfiguration().

std::string Link::SendPass
 

Definition at line 29 of file link.h.

Referenced by SpanningTreeUtilities::ReadConfiguration().

int Link::Timeout
 

Definition at line 37 of file link.h.

Referenced by ModuleSpanningTree::ConnectServer(), ServernameResolver::OnLookupComplete(), and SpanningTreeUtilities::ReadConfiguration().


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