ED2KPacket::ServerMessage Class Reference

ServerMessage is a free-form string message sent by servers after successful login. More...

#include <packets.h>

Inheritance diagram for ED2KPacket::ServerMessage:

ED2KPacket::Packet List of all members.

Public Member Functions

 ServerMessage (std::istream &i)
std::string getMsg () const

Private Attributes

std::string m_msg

Detailed Description

ServerMessage is a free-form string message sent by servers after successful login.

This is a kind of MOTD from servers. Can include newlines and be of arbitary length (up to numeric_limits<uin16_t>)

Usage: Server -> Client

Definition at line 156 of file packets.h.


Constructor & Destructor Documentation

ED2KPacket::ServerMessage::ServerMessage std::istream &  i  ) 
 

Definition at line 214 of file packets.cpp.

References m_msg.


Member Function Documentation

std::string ED2KPacket::ServerMessage::getMsg  )  const [inline]
 

Definition at line 160 of file packets.h.

References m_msg.


Member Data Documentation

std::string ED2KPacket::ServerMessage::m_msg [private]
 

Definition at line 162 of file packets.h.

Referenced by getMsg(), and ServerMessage().


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