Bitcoin Core
27.99.0
P2P Digital Currency
|
#include <subprocess.h>
Public Member Functions | |
Communication (Streams *stream) | |
void | operator= (const Communication &)=delete |
int | send (const char *msg, size_t length) |
int | send (const std::vector< char > &msg) |
std::pair< OutBuffer, ErrBuffer > | communicate (const char *msg, size_t length) |
std::pair< OutBuffer, ErrBuffer > | communicate (const std::vector< char > &msg) |
void | set_out_buf_cap (size_t cap) |
void | set_err_buf_cap (size_t cap) |
Private Member Functions | |
std::pair< OutBuffer, ErrBuffer > | communicate_threaded (const char *msg, size_t length) |
Private Attributes | |
Streams * | stream_ |
size_t | out_buf_cap_ = DEFAULT_BUF_CAP_BYTES |
size_t | err_buf_cap_ = DEFAULT_BUF_CAP_BYTES |
A helper class to Streams. This takes care of management of communicating with the child process with the means of the correct file descriptor.
Definition at line 808 of file subprocess.h.
|
inline |
Definition at line 811 of file subprocess.h.
|
inline |
Definition at line 1495 of file subprocess.h.
|
inlineprivate |
Definition at line 1561 of file subprocess.h.
|
delete |
|
inline |
Definition at line 1483 of file subprocess.h.
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 832 of file subprocess.h.
|
private |
Definition at line 831 of file subprocess.h.
|
private |
Definition at line 830 of file subprocess.h.