tcpclient2 -> async tcpclient
This commit is contained in:
parent
eb455bb95f
commit
6210196bcd
@ -3,7 +3,7 @@
|
||||
#include "framework/cpp/protoutils.h"
|
||||
|
||||
#include <a8/tcpclient.h>
|
||||
#include <a8/tcpclient2.h>
|
||||
#include <a8/asynctcpclient.h>
|
||||
#include <a8/tcplistener.h>
|
||||
|
||||
#include <google/protobuf/message.h>
|
||||
@ -132,7 +132,7 @@ namespace f8
|
||||
return sizeof(f8::PackHeadOld) + packlen;
|
||||
}
|
||||
|
||||
int Net_SendMsg(a8::TcpClient2* tcp_client, unsigned seqid, unsigned short msgid,
|
||||
int Net_SendMsg(a8::AsyncTcpClient* tcp_client, unsigned seqid, unsigned short msgid,
|
||||
::google::protobuf::Message& msg)
|
||||
{
|
||||
int packlen = msg.ByteSize();
|
||||
|
@ -12,7 +12,7 @@ namespace google
|
||||
namespace a8
|
||||
{
|
||||
class TcpClient;
|
||||
class TcpClient2;
|
||||
class AsyncTcpClient;
|
||||
class TcpListener;
|
||||
}
|
||||
|
||||
@ -110,7 +110,7 @@ namespace f8
|
||||
unsigned short msgid, ::google::protobuf::Message& msg);
|
||||
int Net_SendMsgOld(a8::TcpClient* tcp_client, unsigned int seqid,
|
||||
unsigned short msgid, ::google::protobuf::Message& msg);
|
||||
int Net_SendMsg(a8::TcpClient2* tcp_client, unsigned int seqid,
|
||||
int Net_SendMsg(a8::AsyncTcpClient* tcp_client, unsigned int seqid,
|
||||
unsigned short msgid, ::google::protobuf::Message& msg);
|
||||
int Net_SendBigMsg(a8::TcpClient* tcp_client, unsigned int seqid,
|
||||
unsigned short msgid, ::google::protobuf::Message& msg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user