s-net-Tools
SnetPeerStatistic Class Reference

#include <SnetPeerStatistic.h>

Inheritance diagram for SnetPeerStatistic:
Collaboration diagram for SnetPeerStatistic:

Public Member Functions

 SnetPeerStatistic ()
 
uint32_t GetRemoteSeed () const
 
uint32_t GetLocalSeed () const
 
uint32_t GetLocalGeneration () const
 
uint16_t GetAmountOfPackets () const
 
std::vector< unsigned char > Serialize () const
 
size_t Deserialize (const std::vector< unsigned char > &a_Buffer)
 
- Public Member Functions inherited from SnetAppMessage
 SnetAppMessage (uint8_t a_SrcServiceId=0, uint8_t a_DstServiceId=0, uint8_t a_Token=0, uint16_t a_SrcSSA=0xFFFE, uint16_t a_DstSSA=0xFFFE, bool a_OnAirARQ=true)
 
void SetSrcServiceId (uint8_t a_SrcServiceId=0)
 
uint8_t GetSrcServiceId () const
 
void SetDstServiceId (uint8_t a_DstServiceId=0)
 
uint8_t GetDstServiceId () const
 
void SetToken (uint8_t a_Token=0)
 
uint16_t GetToken () const
 
std::vector< unsigned char > Serialize () const
 
size_t Deserialize (const std::vector< unsigned char > &a_Buffer)
 
std::string Dissect () const
 
- Public Member Functions inherited from SnetPacket
 SnetPacket (uint16_t a_SrcSSA=0xFFFE, uint16_t a_DstSSA=0xFFFE, bool a_OnAirARQ=true)
 
virtual ~SnetPacket ()
 
void SetSrcSSA (uint16_t a_SrcSSA=0xFFFE)
 
uint16_t GetSrcSSA () const
 
void SetDstSSA (uint16_t a_DstSSA=0xFFFE)
 
uint16_t GetDstSSA () const
 
void SetOnAirARQ (bool a_OnAirARQ=true)
 
bool GetOnAirARQ () const
 

Additional Inherited Members

- Protected Member Functions inherited from SnetAppMessage
size_t GetSize () const
 

Detailed Description

Definition at line 28 of file SnetPeerStatistic.h.

Constructor & Destructor Documentation

SnetPeerStatistic::SnetPeerStatistic ( )
inline

Definition at line 30 of file SnetPeerStatistic.h.

Member Function Documentation

size_t SnetPeerStatistic::Deserialize ( const std::vector< unsigned char > &  a_Buffer)
inlinevirtual

Reimplemented from SnetPacket.

Definition at line 58 of file SnetPeerStatistic.h.

Here is the call graph for this function:

Here is the caller graph for this function:

uint16_t SnetPeerStatistic::GetAmountOfPackets ( ) const
inline

Definition at line 36 of file SnetPeerStatistic.h.

Here is the caller graph for this function:

uint32_t SnetPeerStatistic::GetLocalGeneration ( ) const
inline

Definition at line 35 of file SnetPeerStatistic.h.

Here is the caller graph for this function:

uint32_t SnetPeerStatistic::GetLocalSeed ( ) const
inline

Definition at line 34 of file SnetPeerStatistic.h.

uint32_t SnetPeerStatistic::GetRemoteSeed ( ) const
inline

Definition at line 33 of file SnetPeerStatistic.h.

std::vector<unsigned char> SnetPeerStatistic::Serialize ( ) const
inlinevirtual

Reimplemented from SnetPacket.

Definition at line 39 of file SnetPeerStatistic.h.

Here is the call graph for this function:


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