Add setThreadPriority method to TCPServer

This commit is contained in:
Maschell 2018-08-01 20:48:36 +02:00
parent 125ee44117
commit cf8bda7314

View File

@ -31,6 +31,12 @@ protected:
return sockfd;
}
void setThreadPriority(int32_t priority) {
if(pThread != NULL){
pThread->setThreadPriority(priority);
}
}
struct sockaddr_in getSockAddr() {
return sock_addr;
}