ircproxy  The Ultimate Cyborg

ServerConnection.h File Reference


Detailed Description

This file contains the declaration of class ServerConnection.

Definition in file ServerConnection.h.

#include <boost/shared_ptr.hpp>
#include <sys/time.h>
#include "debug.h"
#include <libcw/events.h>
#include "MessageOut.h"
#include "ServerSession.h"
#include "IdentityReference.h"
#include "Server.h"
#include "random_nick.h"

Go to the source code of this file.

Classes

class  ServerConnection
 Object representing the server-side connection. More...

Enumerations

enum  state_nt {
  disconnected, authentication_started, successful_connect, pong_sent,
  login_sent, real_nick_sent, real_nick_accepted
}
 Connection states. More...


Enumeration Type Documentation

enum state_nt

Connection states.

Enumerator:
disconnected  Disconnected.
authentication_started  PASS, NICK and USER message sent.
successful_connect  Received first server message.
pong_sent  PONG and MODE +i sent.
login_sent  Login message to X sent.
real_nick_sent  NICK with real nick name sent.
real_nick_accepted  NICK with real nick accepted.

Definition at line 37 of file ServerConnection.h.

00037               {
00038   disconnected,                 //!< Disconnected
00039   authentication_started,       //!< PASS, NICK and USER message sent.
00040   successful_connect,           //!< Received first server message
00041   pong_sent,                    //!< PONG and MODE +i sent.
00042   login_sent,                   //!< Login message to X sent.
00043   real_nick_sent,               //!< NICK with real nick name sent.
00044   real_nick_accepted            //!< NICK with real nick accepted.
00045 };


Copyright © 2005-2007 Carlo Wood.  All rights reserved.