ED2KPacket::HelloAnswer Class Reference

HelloAnswer packet is the expected response to Hello packet. More...

#include <packets.h>

Inheritance diagram for ED2KPacket::HelloAnswer:

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

Public Member Functions

 HelloAnswer (uint8_t proto=PR_ED2K, const std::string &modStr="")
 HelloAnswer (std::istream &i)
 operator std::string ()

Detailed Description

HelloAnswer packet is the expected response to Hello packet.

This includes a set of information about the client. HelloAnswer differs from Hello only by one byte (hashsize is sent on Hello but not on HelloAnswer), and has different opcode.

Definition at line 507 of file packets.h.


Constructor & Destructor Documentation

ED2KPacket::HelloAnswer::HelloAnswer uint8_t  proto = PR_ED2K,
const std::string &  modStr = ""
 

Definition at line 707 of file packets.cpp.

ED2KPacket::HelloAnswer::HelloAnswer std::istream &  i  ) 
 

Definition at line 709 of file packets.cpp.


Member Function Documentation

ED2KPacket::HelloAnswer::operator std::string  ) 
 

Reimplemented from ED2KPacket::Hello.

Definition at line 710 of file packets.cpp.

References OP_HELLOANSWER, and ED2KPacket::Hello::save().


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