ED2KPacket::Signature Class Reference

Signature packet is the expected response to SecIdentState packet which requested Signature; it contains - the remote client's signature ofcourse. More...

#include <packets.h>

Inheritance diagram for ED2KPacket::Signature:

ED2KPacket::Packet List of all members.

Public Member Functions

 Signature (const std::string &sign, IpType ipType=0)
 Signature (std::istream &i)
 operator std::string ()
std::string getSign () const
IpType getIpType () const

Private Attributes

std::string m_signature
 Signature.
IpType m_ipType
 Either local, remote or none.

Detailed Description

Signature packet is the expected response to SecIdentState packet which requested Signature; it contains - the remote client's signature ofcourse.

Definition at line 980 of file packets.h.


Constructor & Destructor Documentation

ED2KPacket::Signature::Signature const std::string &  sign,
IpType  ipType = 0
 

Definition at line 1252 of file packets.cpp.

References PR_EMULE.

ED2KPacket::Signature::Signature std::istream &  i  ) 
 

Definition at line 1254 of file packets.cpp.

References m_ipType, and m_signature.


Member Function Documentation

ED2KPacket::Signature::operator std::string  ) 
 

Definition at line 1266 of file packets.cpp.

References m_ipType, m_signature, ED2KPacket::Packet::makePacket(), and OP_SIGNATURE.

std::string ED2KPacket::Signature::getSign  )  const [inline]
 

Definition at line 986 of file packets.h.

References m_signature.

IpType ED2KPacket::Signature::getIpType  )  const [inline]
 

Definition at line 987 of file packets.h.

References m_ipType.


Member Data Documentation

std::string ED2KPacket::Signature::m_signature [private]
 

Signature.

Definition at line 989 of file packets.h.

Referenced by getSign(), operator std::string(), and Signature().

IpType ED2KPacket::Signature::m_ipType [private]
 

Either local, remote or none.

Definition at line 990 of file packets.h.

Referenced by getIpType(), operator std::string(), and Signature().


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