socket_create_message_protocol_handler.h
来自「程序实现了在ip协议之上加一层RUDP协议」· C头文件 代码 · 共 39 行
H
39 行
// Socket_Create_Message_Protocol_Handler.h: interface for the Socket_Create_Message_Protocol_Handler class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SOCKET_CREATE_MESSAGE_PROTOCOL_HANDLER_H__DE5E7967_9ADB_453F_89F8_A2118A2D2B61__INCLUDED_)
#define AFX_SOCKET_CREATE_MESSAGE_PROTOCOL_HANDLER_H__DE5E7967_9ADB_453F_89F8_A2118A2D2B61__INCLUDED_
#include "socket_message_type.h"
#include "socket_data_struct.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class Socket_Create_Message_Protocol_Handler
{
public:
Socket_Create_Message_Protocol_Handler();
virtual ~Socket_Create_Message_Protocol_Handler();
static Socket_Create_Message_Protocol_Handler* get_instance();
static Message f_SOCKET_Socket_Buff_Enough();
static Message f_SOCKET_Socket_Buff_Full();
static Message f_SOCKET_Socket_Buff_No_Enough();
static Message f_SOCKET_Socket_Link_Lost(Message *msg);
static Message f_SOCKET_App_Connected_Notify(unsigned int d_deviceID);
static Message f_SOCKET_App_Request_Conn_Failure(unsigned int deviceID, unsigned int failure_id);
static Message f_SOCKET_App_Send_Failure(Message *msg);
static Message f_SOCKET_App_Send_Success(Message *msg);
static Message f_SOCKET_App_Packet_Receive(char *buf, unsigned int deviceID, int RUDPTag,int packet_length);
private:
static Socket_Create_Message_Protocol_Handler* pinstance;
};
#endif // !defined(AFX_SOCKET_CREATE_MESSAGE_PROTOCOL_HANDLER_H__DE5E7967_9ADB_453F_89F8_A2118A2D2B61__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?