ED2KPacket::MuleInfo Class Reference

#include <packets.h>

Inheritance diagram for ED2KPacket::MuleInfo:

ED2KPacket::Packet ED2KPacket::MuleInfoAnswer List of all members.

Public Member Functions

 MuleInfo ()
 MuleInfo (std::istream &i)
 operator std::string ()
uint8_t getProto () const
uint8_t getVersion () const
uint8_t getComprVer () const
uint8_t getUdpVer () const
uint8_t getCommentVer () const
uint8_t getExtReqVer () const
uint8_t getSrcExchVer () const
uint8_t getCompatCliID () const
uint16_t getUdpPort () const
uint16_t getFeatures () const
std::string getModStr () const

Protected Attributes

uint8_t m_opcode
 For implementation use only.

Private Attributes

uint8_t m_protocol
 Protocol version.
uint8_t m_version
 Client version.
uint8_t m_comprVer
 Compression version.
uint8_t m_udpVer
 UDP version.
uint8_t m_commentVer
 Comment version.
uint8_t m_extReqVer
 Ext Req version.
uint8_t m_srcExchVer
 Source Exchange version.
uint8_t m_compatCliID
 Compatible client ID.
uint16_t m_udpPort
 UDP port.
uint16_t m_features
 Supported features.
std::string m_modStr
 Mod string.

Constructor & Destructor Documentation

ED2KPacket::MuleInfo::MuleInfo  ) 

Definition at line 751 of file packets.cpp.

References OP_MULEINFO, and PR_EMULE.

ED2KPacket::MuleInfo::MuleInfo std::istream &  i  ) 

Definition at line 714 of file packets.cpp.

References CT_COMMENTS, CT_COMPATCLIENT, CT_COMPRESSION, CT_EXTREQ, CT_FEATURES, CT_MODVERSION, CT_SOURCEEXCH, CT_UDPPORT, CT_UDPVER, Tag::getInt(), Tag::getOpcode(), Tag::getStr(), m_commentVer, m_compatCliID, m_comprVer, m_extReqVer, m_features, m_modStr, m_protocol, m_srcExchVer, m_udpPort, m_udpVer, m_version, and PR_EMULE.

Member Function Documentation

ED2KPacket::MuleInfo::operator std::string  ) 

Reimplemented in ED2KPacket::MuleInfoAnswer.

Definition at line 752 of file packets.cpp.


uint8_t ED2KPacket::MuleInfo::getProto  )  const [inline]

Definition at line 520 of file packets.h.

References m_protocol.

uint8_t ED2KPacket::MuleInfo::getVersion  )  const [inline]

Definition at line 521 of file packets.h.

References m_version.

uint8_t ED2KPacket::MuleInfo::getComprVer  )  const [inline]

Definition at line 522 of file packets.h.

References m_comprVer.

uint8_t ED2KPacket::MuleInfo::getUdpVer  )  const [inline]

Definition at line 523 of file packets.h.

References m_udpVer.

uint8_t ED2KPacket::MuleInfo::getCommentVer  )  const [inline]

Definition at line 524 of file packets.h.

References m_commentVer.

uint8_t ED2KPacket::MuleInfo::getExtReqVer  )  const [inline]

Definition at line 525 of file packets.h.

References m_extReqVer.

uint8_t ED2KPacket::MuleInfo::getSrcExchVer  )  const [inline]

Definition at line 526 of file packets.h.

References m_srcExchVer.

uint8_t ED2KPacket::MuleInfo::getCompatCliID  )  const [inline]

Definition at line 527 of file packets.h.

References m_compatCliID.

uint16_t ED2KPacket::MuleInfo::getUdpPort  )  const [inline]

Definition at line 528 of file packets.h.

References m_udpPort.

Referenced by operator std::string().

uint16_t ED2KPacket::MuleInfo::getFeatures  )  const [inline]

Definition at line 529 of file packets.h.

References m_features.

std::string ED2KPacket::MuleInfo::getModStr  )  const [inline]

Definition at line 530 of file packets.h.

References m_modStr.

Member Data Documentation

uint8_t ED2KPacket::MuleInfo::m_protocol [private]

Protocol version.

Definition at line 532 of file packets.h.

Referenced by getProto(), and MuleInfo().

uint8_t ED2KPacket::MuleInfo::m_version [private]

Client version.

Definition at line 533 of file packets.h.

Referenced by getVersion(), and MuleInfo().

uint8_t ED2KPacket::MuleInfo::m_comprVer [private]

Compression version.

Definition at line 534 of file packets.h.

Referenced by getComprVer(), and MuleInfo().

uint8_t ED2KPacket::MuleInfo::m_udpVer [private]

UDP version.

Definition at line 535 of file packets.h.

Referenced by getUdpVer(), and MuleInfo().

uint8_t ED2KPacket::MuleInfo::m_commentVer [private]

Comment version.

Definition at line 536 of file packets.h.

Referenced by getCommentVer(), and MuleInfo().

uint8_t ED2KPacket::MuleInfo::m_extReqVer [private]

Ext Req version.

Definition at line 537 of file packets.h.

Referenced by getExtReqVer(), and MuleInfo().

uint8_t ED2KPacket::MuleInfo::m_srcExchVer [private]

Source Exchange version.

Definition at line 538 of file packets.h.

Referenced by getSrcExchVer(), and MuleInfo().

uint8_t ED2KPacket::MuleInfo::m_compatCliID [private]

Compatible client ID.

Definition at line 539 of file packets.h.

Referenced by getCompatCliID(), and MuleInfo().

uint16_t ED2KPacket::MuleInfo::m_udpPort [private]

UDP port.

Definition at line 540 of file packets.h.

Referenced by getUdpPort(), and MuleInfo().

uint16_t ED2KPacket::MuleInfo::m_features [private]

Supported features.

Definition at line 541 of file packets.h.

Referenced by getFeatures(), and MuleInfo().

std::string ED2KPacket::MuleInfo::m_modStr [private]

Mod string.

Definition at line 542 of file packets.h.

Referenced by getModStr(), and MuleInfo().

uint8_t ED2KPacket::MuleInfo::m_opcode [protected]

For implementation use only.

Definition at line 544 of file packets.h.

Referenced by operator std::string().

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