#include <tcp_srv.hh>
Inheritance diagram for TCPSVR_BLOCKING_READ_REQUEST:
Public Methods | |
TCPSVR_BLOCKING_READ_REQUEST () | |
~TCPSVR_BLOCKING_READ_REQUEST () | |
Data Fields | |
CLIENT_TCP_PORT * | _client_tcp_port |
CMS_SERVER_REMOTE_TCP_PORT * | remport |
CMS_SERVER * | server |
REMOTE_BLOCKING_READ_REPLY * | read_reply |
|
Definition at line 153 of file tcp_srv.cc. 00153 : 00154 CMS_SERVER_REMOTE_PORT (_cms_server) 00155 { 00156 client_ports = (RCS_LINKED_LIST *) NULL; 00157 connection_socket = 0; 00158 connection_port = 0; 00159 maxfdpl = 0; 00160 dtimeout = 20.0; 00161 if (load_socket_interface () < 0) 00162 { 00163 rcs_print_error ("Can't load socket interface.\n"); 00164 return; 00165 } 00166 00167 memset (&server_socket_address, 0, sizeof (server_socket_address)); 00168 server_socket_address.sin_family = AF_INET; server_socket_address.sin_addr.s_addr = dl_htonl (INADDR_ANY); |
|
Definition at line 189 of file tcp_srv.cc. 00189 { 00190 unregister_port (); 00191 if (NULL != client_ports) 00192 { 00193 delete client_ports; 00194 client_ports = (RCS_LINKED_LIST *) NULL; 00195 } 00196 } 00197 00198 void 00199 blocking_thread_kill (long int id) 00200 { 00201 00202 if (id <= 0) 00203 { 00204 return; 00205 } 00206 #if defined(sunos5) && !defined(NO_THREADS) 00207 thr_kill (id, SIGINT); 00208 thr_join (id, NULL, NULL); 00209 #endif 00210 #ifdef POSIX_THREADS 00211 pthread_kill (id, SIGINT); 00212 pthread_join (id, NULL); 00213 #endif 00214 #ifdef VXWORKS 00215 if (taskIdVerify (id) != OK) 00216 { 00217 return; 00218 } |
|
Definition at line 157 of file tcp_srv.hh. |
|
Definition at line 158 of file tcp_srv.hh. |
|
Definition at line 159 of file tcp_srv.hh. |
|
Definition at line 160 of file tcp_srv.hh. |