1 /* +------------------------------------+
2 * | Inspire Internet Relay Chat Daemon |
3 * +------------------------------------+
5 * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
7 * <brain@chatspike.net>
8 * <Craig@chatspike.net>
10 * Written by Craig Edwards, Craig McLure, and others.
11 * This program is free but copyrighted software; see
12 * the file COPYING for details.
14 * ---------------------------------------------------
17 #ifndef __CONNECTION_H__
18 #define __CONNECTION_H__
21 #include "inspircd_config.h"
24 class connection : public Extensible
27 /** File descriptor of the connection
31 /** Hostname of connection
35 /** Stats counter for bytes inbound
39 /** Stats counter for bytes outbound
43 /** Stats counter for commands inbound
47 /** Stats counter for commands outbound
51 /** True if user has authenticated, false if otherwise
55 /** Used by userrec to indicate the registration status of the connection
59 /** Time the connection was last pinged
63 /** Time the connection was created, set in the constructor
67 /** Time that the connection last sent data, used to calculate idle time
71 /** Used by PING checks with clients
75 /** Default constructor