From 66f0cd6469d2643858c2fcd14726d362696bd68d Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 24 May 2005 02:34:33 +0000 Subject: New methods, new docs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1484 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/connection_8h-source.html | 212 +++++++++++++++--------------- 1 file changed, 108 insertions(+), 104 deletions(-) (limited to 'docs/module-doc/connection_8h-source.html') diff --git a/docs/module-doc/connection_8h-source.html b/docs/module-doc/connection_8h-source.html index 243488ec6..1767f150f 100644 --- a/docs/module-doc/connection_8h-source.html +++ b/docs/module-doc/connection_8h-source.html @@ -65,116 +65,120 @@ 00083 00086 std::string version; 00087 -00088 public: -00089 -00094 std::string ircdbuffer; +00090 std::string sendq; +00091 +00094 std::string WriteError; 00095 -00096 -00101 char host[MAXBUF]; -00102 -00107 int port; -00108 -00113 std::vector<std::string> routes; -00114 -00115 -00118 bool MakeOutboundConnection(char* newhost, int newport); -00119 -00122 std::string GetServerName(); -00123 -00126 void SetServerName(std::string serv); -00127 -00130 int GetDescriptor(); -00131 -00134 void SetDescriptor(int fd); -00135 -00138 int GetState(); -00139 -00142 void SetState(int state); -00143 -00146 char* GetServerIP(); -00147 -00150 std::string GetDescription(); -00151 -00154 void SetDescription(std::string desc); -00155 -00161 int GetServerPort(); +00098 time_t nextping; +00099 +00102 bool replied; +00103 +00104 public: +00105 +00110 std::string ircdbuffer; +00111 +00112 +00117 char host[MAXBUF]; +00118 +00123 int port; +00124 +00129 std::vector<std::string> routes; +00130 +00133 ircd_connector(); +00134 +00137 bool MakeOutboundConnection(char* newhost, int newport); +00138 +00141 std::string GetServerName(); +00142 +00145 void SetServerName(std::string serv); +00146 +00149 int GetDescriptor(); +00150 +00153 void SetDescriptor(int fd); +00154 +00157 int GetState(); +00158 +00161 void SetState(int state); 00162 -00165 void SetServerPort(int p); +00165 char* GetServerIP(); 00166 -00169 bool SetHostAndPort(char* newhost, int newport); +00169 std::string GetDescription(); 00170 -00174 void CloseConnection(); -00175 -00181 void AddBuffer(std::string a); -00182 -00187 bool BufferIsComplete(); -00188 -00191 void ClearBuffer(); -00192 -00197 std::string GetBuffer(); -00198 -00201 void SetVersionString(std::string newversion); -00202 -00206 std::string GetVersionString(); -00207 }; -00208 -00209 -00212 class connection : public Extensible -00213 { -00214 public: -00217 int fd; -00218 -00221 char host[160]; -00222 -00225 char ip[16]; -00226 -00229 long bytes_in; +00173 void SetDescription(std::string desc); +00174 +00180 int GetServerPort(); +00181 +00184 void SetServerPort(int p); +00185 +00188 bool SetHostAndPort(char* newhost, int newport); +00189 +00193 void CloseConnection(); +00194 +00199 bool AddBuffer(std::string a); +00200 +00205 bool BufferIsComplete(); +00206 +00209 void ClearBuffer(); +00210 +00215 std::string GetBuffer(); +00216 +00219 void SetVersionString(std::string newversion); +00220 +00224 std::string GetVersionString(); +00225 +00229 bool AddWriteBuf(std::string data); 00230 -00233 long bytes_out; -00234 -00237 long cmds_in; -00238 -00241 long cmds_out; -00242 -00245 bool haspassed; -00246 -00251 int port; -00252 -00255 char registered; -00256 -00259 time_t lastping; -00260 -00263 time_t signon; -00264 -00267 time_t idle_lastmsg; -00268 -00271 time_t nping; -00272 -00276 std::vector<ircd_connector> connectors; -00277 -00280 connection(); -00281 -00284 bool CreateListener(char* host, int p); -00285 -00288 bool BeginLink(char* targethost, int port, char* password, char* servername, int myport); -00289 -00292 bool MeshCookie(char* targethost, int port, unsigned long cookie, char* servername); -00293 -00296 void TerminateLink(char* targethost); -00297 -00301 bool SendPacket(char *message, const char* host); -00302 -00307 bool RecvPacket(std::deque<std::string> &messages, char* host, std::deque<std::string> &sums); -00308 -00311 ircd_connector* FindHost(std::string host); -00312 -00316 bool AddIncoming(int fd,char* targethost, int sourceport); +00234 bool FlushWriteBuf(); +00235 +00238 void SetWriteError(std::string error); +00239 +00242 std::string GetWriteError(); +00243 +00246 bool HasBufferedOutput(); +00247 +00251 bool CheckPing(); +00252 +00255 void ResetPing(); +00256 }; +00257 +00258 +00261 class connection : public Extensible +00262 { +00263 public: +00266 int fd; +00267 +00270 char host[160]; +00271 +00274 char ip[16]; +00275 +00278 int bytes_in; +00279 +00282 int bytes_out; +00283 +00286 int cmds_in; +00287 +00290 int cmds_out; +00291 +00294 bool haspassed; +00295 +00300 int port; +00301 +00304 char registered; +00305 +00308 time_t lastping; +00309 +00312 time_t signon; +00313 +00316 time_t idle_lastmsg; 00317 -00318 }; -00319 -00320 -00321 #endif -
Generated on Sun May 15 18:36:01 2005 for InspIRCd by +00320 time_t nping; +00321 +00324 connection(); +00325 }; +00326 +00327 +00328 #endif +
Generated on Tue May 24 02:30:02 2005 for InspIRCd by doxygen 1.3.3
-- cgit v1.2.3