#include <RunToolClientPrivate.H>
Public Member Functions | |
Tool_Relay () | |
~Tool_Relay () | |
void | setup (std::ostream *report, std::ostream *value, Basics::mutex *mu, const Text &label) throw (TCP_sock::failure) |
bool | finish (bool wait) throw (TCP_sock::failure, FS::Failure) |
void | get_sockaddr (sockaddr_in &sock) |
void | body () |
Private Member Functions | |
Tool_Relay (Tool_Relay &) | |
void | operator= (Tool_Relay &) |
Private Attributes | |
Basics::mutex | m |
TCP_sock * | listener |
TCP_sock * | s |
Basics::thread | relay |
std::ostream * | report |
std::ostream * | value |
Basics::mutex * | mu |
Text | label |
char * | buffer |
int | buff_len |
int | remaining |
bool | written |
TCP_sock::failure | tcp_f |
bool | write_failed |
FS::Failure | write_failure |
|
Definition at line 299 of file RunToolClient.C. References buff_len, buffer, listener, mu, remaining, report, s, value, and write_failed. |
|
Definition at line 312 of file RunToolClient.C. |
|
|
|
Definition at line 326 of file RunToolClient.C. References buff_len, buffer, TCP_sock::enable_alerts(), TCP_sock::end_of_file, FdCache::flush(), label, listener, Basics::mutex::lock(), m, mu, NEW_PTRFREE_ARRAY, TCP_sock::recv_data(), RELAY_BUFFER_SIZE, remaining, report, s, tcp_f, TCP_sock::test_alert(), Basics::mutex::unlock(), value, TCP_sock::wait_for_connect(), FS::Write(), write_failed, write_failure, and written. Referenced by relay_thread(). |
|
Definition at line 442 of file RunToolClient.C. Referenced by RunTool::do_it(). |
|
Definition at line 463 of file RunToolClient.C. References TCP_sock::get_local_addr(), listener, and s. Referenced by RunTool::send_relay_socket(). |
|
|
|
Definition at line 418 of file RunToolClient.C. References mu, NEW, NEW_PTRFREE_ARRAY, RELAY_BUFFER_SIZE, and relay_thread(). Referenced by RunTool::do_it(). |
|
Definition at line 83 of file RunToolClientPrivate.H. Referenced by body(), and Tool_Relay(). |
|
Definition at line 82 of file RunToolClientPrivate.H. Referenced by body(), Tool_Relay(), and ~Tool_Relay(). |
|
Definition at line 81 of file RunToolClientPrivate.H. Referenced by body(). |
|
Definition at line 75 of file RunToolClientPrivate.H. Referenced by body(), get_sockaddr(), Tool_Relay(), and ~Tool_Relay(). |
|
Definition at line 74 of file RunToolClientPrivate.H. Referenced by body(). |
|
Definition at line 80 of file RunToolClientPrivate.H. Referenced by body(), and Tool_Relay(). |
|
Definition at line 77 of file RunToolClientPrivate.H. |
|
Definition at line 84 of file RunToolClientPrivate.H. Referenced by body(), and Tool_Relay(). |
|
Definition at line 78 of file RunToolClientPrivate.H. Referenced by body(), and Tool_Relay(). |
|
Definition at line 76 of file RunToolClientPrivate.H. Referenced by body(), get_sockaddr(), Tool_Relay(), and ~Tool_Relay(). |
|
Definition at line 86 of file RunToolClientPrivate.H. Referenced by body(). |
|
Definition at line 79 of file RunToolClientPrivate.H. Referenced by body(), and Tool_Relay(). |
|
Definition at line 88 of file RunToolClientPrivate.H. Referenced by body(), and Tool_Relay(). |
|
Definition at line 89 of file RunToolClientPrivate.H. Referenced by body(). |
|
Definition at line 85 of file RunToolClientPrivate.H. Referenced by body(). |