ED2KParser< Parent >::InternalPacket Struct Reference

InternalPacket structure is a temporary storage for a single packet data. More...

List of all members.


Public Attributes

uint8_t m_proto
 protocol
uint32_t m_len
 data + opcode length
uint8_t m_opcode
 opcode
std::string m_data
 data

Friends

std::ostream & operator<< (std::ostream &o, const InternalPacket &i)
 Output operator into streams.

Detailed Description

template<typename Parent>
struct ED2KParser< Parent >::InternalPacket

InternalPacket structure is a temporary storage for a single packet data.

Definition at line 207 of file parser.h.


Friends And Related Function Documentation

template<typename Parent>
std::ostream& operator<< std::ostream &  o,
const InternalPacket i
[friend]
 

Output operator into streams.

Definition at line 214 of file parser.h.


Member Data Documentation

template<typename Parent>
uint8_t ED2KParser< Parent >::InternalPacket::m_proto
 

protocol

Definition at line 208 of file parser.h.

Referenced by ED2KParser< Parent >::parse().

template<typename Parent>
uint32_t ED2KParser< Parent >::InternalPacket::m_len
 

data + opcode length

Definition at line 209 of file parser.h.

template<typename Parent>
uint8_t ED2KParser< Parent >::InternalPacket::m_opcode
 

opcode

Definition at line 210 of file parser.h.

Referenced by ED2KParser< Parent >::parse().

template<typename Parent>
std::string ED2KParser< Parent >::InternalPacket::m_data
 

data

Definition at line 211 of file parser.h.

Referenced by ED2KParser< Parent >::parse().


The documentation for this struct was generated from the following file: