1
This commit is contained in:
parent
c0baee9980
commit
3e1f116639
@ -33,6 +33,7 @@ namespace a8
|
|||||||
virtual void OnConnect();
|
virtual void OnConnect();
|
||||||
virtual void OnDisConnect();
|
virtual void OnDisConnect();
|
||||||
bool Alive();
|
bool Alive();
|
||||||
|
virtual void Destory();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void SendBuff(const char* buff, unsigned int bufflen);
|
virtual void SendBuff(const char* buff, unsigned int bufflen);
|
||||||
@ -40,7 +41,6 @@ namespace a8
|
|||||||
void SetSocket(int sock);
|
void SetSocket(int sock);
|
||||||
bool AllocRecvBuf();
|
bool AllocRecvBuf();
|
||||||
virtual void Reset();
|
virtual void Reset();
|
||||||
virtual void Destory();
|
|
||||||
void _ForceClose();
|
void _ForceClose();
|
||||||
virtual void OnSocketRead(char* buf, unsigned int buflen);
|
virtual void OnSocketRead(char* buf, unsigned int buflen);
|
||||||
virtual void DecodePacket(char* buf, int& offset, unsigned int buflen);
|
virtual void DecodePacket(char* buf, int& offset, unsigned int buflen);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user