Bitcoin Core 31.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
TcpSocketPair Struct Reference
Collaboration diagram for TcpSocketPair:
[legend]

Public Member Functions

 TcpSocketPair ()
 
 TcpSocketPair (const TcpSocketPair &)=delete
 
TcpSocketPairoperator= (const TcpSocketPair &)=delete
 
 TcpSocketPair (TcpSocketPair &&)=default
 
TcpSocketPairoperator= (TcpSocketPair &&)=default
 
void connect_pair ()
 
void send_and_receive ()
 

Public Attributes

Sock sender
 
Sock receiver
 

Detailed Description

Definition at line 85 of file sock_tests.cpp.

Constructor & Destructor Documentation

◆ TcpSocketPair() [1/3]

TcpSocketPair::TcpSocketPair ( )
inline

Definition at line 89 of file sock_tests.cpp.

Here is the call graph for this function:

◆ TcpSocketPair() [2/3]

TcpSocketPair::TcpSocketPair ( const TcpSocketPair )
delete

◆ TcpSocketPair() [3/3]

TcpSocketPair::TcpSocketPair ( TcpSocketPair &&  )
default

Member Function Documentation

◆ connect_pair()

void TcpSocketPair::connect_pair ( )
inline

Definition at line 101 of file sock_tests.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=() [1/2]

TcpSocketPair & TcpSocketPair::operator= ( const TcpSocketPair )
delete

◆ operator=() [2/2]

TcpSocketPair & TcpSocketPair::operator= ( TcpSocketPair &&  )
default

◆ send_and_receive()

void TcpSocketPair::send_and_receive ( )
inline

Definition at line 125 of file sock_tests.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ receiver

Sock TcpSocketPair::receiver

Definition at line 87 of file sock_tests.cpp.

◆ sender

Sock TcpSocketPair::sender

Definition at line 86 of file sock_tests.cpp.


The documentation for this struct was generated from the following file: