ED2KPacket::Message Class Reference

A text message sent from one client to another client. More...

#include <packets.h>

Inheritance diagram for ED2KPacket::Message:

ED2KPacket::Packet List of all members.

Public Member Functions

 Message (const std::string &msg)
 Message (std::istream &i)
 operator std::string ()
std::string getMsg () const

Private Attributes

std::string m_message

Detailed Description

A text message sent from one client to another client.

Definition at line 915 of file packets.h.

Constructor & Destructor Documentation

ED2KPacket::Message::Message const std::string &  msg  ) 

Definition at line 1182 of file packets.cpp.

ED2KPacket::Message::Message std::istream &  i  ) 

Definition at line 1183 of file packets.cpp.

References m_message.

Member Function Documentation

ED2KPacket::Message::operator std::string  ) 

Definition at line 1187 of file packets.cpp.

References m_message, and ED2KPacket::Packet::makePacket().

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

Definition at line 921 of file packets.h.

References m_message.

Member Data Documentation

std::string ED2KPacket::Message::m_message [private]

Definition at line 923 of file packets.h.

Referenced by getMsg(), Message(), and operator std::string().

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