1
This commit is contained in:
parent
057c9b6161
commit
895aec82c1
@ -6,6 +6,7 @@
|
||||
|
||||
#include <f8/udplog.h>
|
||||
#include <f8/timer.h>
|
||||
#include <f8/msgqueue.h>
|
||||
|
||||
#include "ss_proto.pb.h"
|
||||
#include "ss_msgid.pb.h"
|
||||
@ -165,12 +166,16 @@ void UpStream::on_connect(a8::TcpClient* sender)
|
||||
sender->remote_address,
|
||||
sender->remote_port
|
||||
});
|
||||
#if 0
|
||||
App::Instance()->AddIMMsg(IM_UpStreamConnect,
|
||||
a8::XParams()
|
||||
.SetSender(instance_id)
|
||||
f8::MsgQueue::Instance()->PostMsg
|
||||
(
|
||||
IM_UpStreamConnect,
|
||||
a8::Args
|
||||
(
|
||||
{
|
||||
instance_id
|
||||
}
|
||||
)
|
||||
);
|
||||
#endif
|
||||
}
|
||||
|
||||
void UpStream::on_disconnect(a8::TcpClient* sender)
|
||||
@ -183,12 +188,16 @@ void UpStream::on_disconnect(a8::TcpClient* sender)
|
||||
sender->remote_address,
|
||||
sender->remote_port
|
||||
});
|
||||
#if 0
|
||||
App::Instance()->AddIMMsg(IM_UpStreamDisconnect,
|
||||
a8::XParams()
|
||||
.SetSender(instance_id)
|
||||
f8::MsgQueue::Instance()->PostMsg
|
||||
(
|
||||
IM_UpStreamDisconnect,
|
||||
a8::Args
|
||||
(
|
||||
{
|
||||
instance_id
|
||||
}
|
||||
)
|
||||
);
|
||||
#endif
|
||||
}
|
||||
|
||||
void UpStream::on_socketread(a8::TcpClient* sender, char* buf, unsigned int len)
|
||||
|
Loading…
x
Reference in New Issue
Block a user