fix helloserver config bug

This commit is contained in:
ruanshudong 2020-11-09 15:18:18 +08:00
parent b1cfc351ad
commit daf8c4b756
3 changed files with 3 additions and 4 deletions

View File

@ -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
{

View File

@ -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;
}

View File

@ -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)