天佐.追日靴  tianzuo.Zhuiri
可靠UDP传输 reliable UDP transmission
Loading...
Searching...
No Matches
Zhuiri_pkg_recv_heart_tag Struct Reference

心跳包接收结构 More...

#include <tianzuo.Zhuiri.h>

Public Member Functions

 Zhuiri_pkg_recv_heart_tag ()
 
 Zhuiri_pkg_recv_heart_tag (int user_id, int ip_adrs, int port, int user_type, int send_time, int sender_user_id, int sender_user_type)
 
int get_user_id () const
 
void set_user_id (int user_id)
 
int get_ip_adrs () const
 
void set_ip_adrs (int ip_adrs)
 
int get_port () const
 
void set_port (int port)
 
int get_user_type () const
 
void set_user_type (int user_type)
 
int get_send_time () const
 
void set_send_time (int send_time)
 

Public Attributes

Zhuiri_pkg_send_heart_struct stuSendHeart
 发送心跳包信息 (send heartbeat packet information)
 

Detailed Description

心跳包接收结构

Constructor & Destructor Documentation

◆ Zhuiri_pkg_recv_heart_tag() [1/2]

Zhuiri_pkg_recv_heart_tag::Zhuiri_pkg_recv_heart_tag ( )
inline

◆ Zhuiri_pkg_recv_heart_tag() [2/2]

Zhuiri_pkg_recv_heart_tag::Zhuiri_pkg_recv_heart_tag ( int  user_id,
int  ip_adrs,
int  port,
int  user_type,
int  send_time,
int  sender_user_id,
int  sender_user_type 
)
inline

Member Function Documentation

◆ get_ip_adrs()

int Zhuiri_pkg_recv_heart_tag::get_ip_adrs ( ) const
inline

◆ get_port()

int Zhuiri_pkg_recv_heart_tag::get_port ( ) const
inline

◆ get_send_time()

int Zhuiri_pkg_recv_heart_tag::get_send_time ( ) const
inline

◆ get_user_id()

int Zhuiri_pkg_recv_heart_tag::get_user_id ( ) const
inline

◆ get_user_type()

int Zhuiri_pkg_recv_heart_tag::get_user_type ( ) const
inline

◆ set_ip_adrs()

void Zhuiri_pkg_recv_heart_tag::set_ip_adrs ( int  ip_adrs)
inline

◆ set_port()

void Zhuiri_pkg_recv_heart_tag::set_port ( int  port)
inline

◆ set_send_time()

void Zhuiri_pkg_recv_heart_tag::set_send_time ( int  send_time)
inline

◆ set_user_id()

void Zhuiri_pkg_recv_heart_tag::set_user_id ( int  user_id)
inline

◆ set_user_type()

void Zhuiri_pkg_recv_heart_tag::set_user_type ( int  user_type)
inline

Member Data Documentation

◆ stuSendHeart

Zhuiri_pkg_send_heart_struct Zhuiri_pkg_recv_heart_tag::stuSendHeart

发送心跳包信息 (send heartbeat packet information)


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