ircproxy  The Ultimate Cyborg

ServerMessageIn Class Reference

#include <MessageIn.h>

Inheritance diagram for ServerMessageIn:

MessageIn

List of all members.


Detailed Description

An IRC message as received from a server.

Definition at line 215 of file MessageIn.h.


Public Member Functions

 ServerMessageIn (ServerSession *server_session)
 Construct a ServerMessageIn that was received via server session server_session.
 ServerMessageIn (ServerMessageIn const &msg)
 Copy-constructor.
 ~ServerMessageIn ()
 Destructor.
ServerSessionserver_session (void) const
 Accessor for M_server_session.

Protected Member Functions

virtual bool is_server_message (void) const
 Return true if this is a ServerMessageIn.
virtual ClientSessionpriv_client_session (void) const
 The session of the derived class.
virtual ServerSessionpriv_server_session (void) const
 The session of the derived class.

Private Attributes

ServerSessionM_server_session
 The server session over which this message was received.

Constructor & Destructor Documentation

ServerMessageIn::ServerMessageIn ( ServerSession server_session  )  [inline]

Construct a ServerMessageIn that was received via server session server_session.

Definition at line 220 of file MessageIn.h.

00220 : M_server_session(server_session) { }

ServerMessageIn::ServerMessageIn ( ServerMessageIn const &  msg  )  [inline]

Copy-constructor.

Definition at line 223 of file MessageIn.h.

References debug::channels::dc::objects.

00223                                                 : MessageIn(msg), M_server_session(msg.M_server_session)
00224         { Dout(dc::objects, "Copy-constructing ServerMessageIn from " << msg); }

ServerMessageIn::~ServerMessageIn (  )  [inline]

Destructor.

Definition at line 227 of file MessageIn.h.

00227 { Dout(dc::objects, "Destructing ServerMessageIn " << *this); }


Member Function Documentation

virtual bool ServerMessageIn::is_server_message ( void   )  const [inline, protected, virtual]

Return true if this is a ServerMessageIn.

Implements MessageIn.

Definition at line 237 of file MessageIn.h.

00237 { return true; }

virtual ClientSession& ServerMessageIn::priv_client_session ( void   )  const [inline, protected, virtual]

The session of the derived class.

Implements MessageIn.

Definition at line 239 of file MessageIn.h.

00239 { DoutFatal(dc::core, "Calling ServerMessageIn::priv_client_session()"); }

virtual ServerSession& ServerMessageIn::priv_server_session ( void   )  const [inline, protected, virtual]

The session of the derived class.

Implements MessageIn.

Definition at line 240 of file MessageIn.h.

00240 { return server_session(); }


Member Data Documentation

The server session over which this message was received.

Definition at line 217 of file MessageIn.h.


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

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