git-svn-id: svn://db.shs.com.ru/pip@756 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -191,8 +191,8 @@ void PIIODevice::_init() {
|
||||
#else
|
||||
setThreadedReadBufferSize(4096);
|
||||
#endif
|
||||
timer.setName("__S__reopen_timer");
|
||||
write_thread.setName("__S__write_thread");
|
||||
timer.setName("__S__.PIIODevice.reopen_timer");
|
||||
write_thread.setName("__S__.PIIODevice.write_thread");
|
||||
CONNECT2(void, void * , int, &timer, tickEvent, this, check_start);
|
||||
CONNECT(void, &write_thread, started, this, write_func);
|
||||
}
|
||||
|
||||
@@ -391,6 +391,8 @@ protected:
|
||||
void * ret_data_;
|
||||
|
||||
private:
|
||||
NO_COPY_CLASS(PIIODevice)
|
||||
|
||||
EVENT_HANDLER2(void, check_start, void * , data, int, delim);
|
||||
EVENT_HANDLER(void, write_func);
|
||||
|
||||
@@ -401,8 +403,6 @@ private:
|
||||
void run();
|
||||
void end() {terminate();}
|
||||
static void cacheFullPath(const PIString & full_path, const PIIODevice * d);
|
||||
explicit PIIODevice(const PIIODevice & );
|
||||
void operator =(const PIIODevice & );
|
||||
|
||||
PITimer timer;
|
||||
PITimeMeasurer tm;
|
||||
|
||||
@@ -159,6 +159,7 @@ PIEthernet::Address PIPeer::PeerInfo::fastestAddress() const {
|
||||
REGISTER_DEVICE(PIPeer)
|
||||
|
||||
PIPeer::PIPeer(const PIString & n): PIIODevice(), inited__(false), eth_tcp_srv(PIEthernet::TCP_Server), eth_tcp_cli(PIEthernet::TCP_Client), diag_s(false), diag_d(false) {
|
||||
sync_timer.setName("__S__.PIPeer.sync_timer");
|
||||
//piCout << " PIPeer" << uint(this);
|
||||
destroyed = false;
|
||||
setDebug(false);
|
||||
|
||||
Reference in New Issue
Block a user