mirror of
https://gitee.com/TarsCloud/TarsCpp.git
synced 2025-01-05 17:42:24 +08:00
fix helloserver config bug
This commit is contained in:
parent
b1cfc351ad
commit
daf8c4b756
@ -25,8 +25,8 @@ using namespace TestApp;
|
||||
|
||||
Communicator* _comm;
|
||||
|
||||
//static string helloObj = "TestApp.HelloServer.HelloObj@tcp -h 127.0.0.1 -p 8999";
|
||||
static string helloObj = "TestApp.HelloServer.HelloObj@tcp -h 127.0.0.1 -p 8199:tcp -h 127.0.0.1 -p 8299 -t 10000";
|
||||
static string helloObj = "TestApp.HelloServer.HelloObj@tcp -h 127.0.0.1 -p 8999";
|
||||
//static string helloObj = "TestApp.HelloServer.HelloObj@tcp -h 127.0.0.1 -p 8199:tcp -h 127.0.0.1 -p 8299 -t 10000";
|
||||
|
||||
struct Param
|
||||
{
|
||||
|
@ -36,7 +36,7 @@ void HelloImp::destroy()
|
||||
int HelloImp::testHello(const std::string &sReq, std::string &sRsp, tars::TarsCurrentPtr current)
|
||||
{
|
||||
// TLOGDEBUG("HelloImp::testHellosReq:"<<sReq<<endl);
|
||||
cout << sReq << endl;
|
||||
//cout << sReq << endl;
|
||||
sRsp = sReq;
|
||||
return 0;
|
||||
}
|
||||
|
@ -30,7 +30,6 @@ TC_Epoller::NotifyInfo::NotifyInfo() : _ep(NULL)
|
||||
TC_Epoller::NotifyInfo::~NotifyInfo()
|
||||
{
|
||||
_notify.close();
|
||||
// _notifyClient.close();
|
||||
}
|
||||
|
||||
void TC_Epoller::NotifyInfo::init(TC_Epoller *ep)
|
||||
|
Loading…
Reference in New Issue
Block a user