![]() |
Bitcoin Core 29.99.0
P2P Digital Currency
|
#include <subprocess.h>
Public Member Functions | |
Communication (Streams *stream) | |
Communication (const Communication &)=delete | |
Communication & | operator= (const Communication &)=delete |
Communication (Communication &&)=default | |
Communication & | operator= (Communication &&)=default |
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 772 of file subprocess.h.
|
inline |
Definition at line 775 of file subprocess.h.
|
delete |
|
default |
|
inline |
Definition at line 1379 of file subprocess.h.
|
inlineprivate |
Definition at line 1445 of file subprocess.h.
|
default |
|
delete |
|
inline |
Definition at line 1367 of file subprocess.h.
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 799 of file subprocess.h.
|
private |
Definition at line 798 of file subprocess.h.
|
private |
Definition at line 797 of file subprocess.h.