xrpld
Loading...
Searching...
No Matches
xrpl::test::Server_test::TestThread Class Reference
Collaboration diagram for xrpl::test::Server_test::TestThread:

Public Member Functions

 TestThread ()
 ~TestThread ()
boost::asio::io_context & getIoContext ()

Private Attributes

boost::asio::io_context ioContext_
std::optional< boost::asio::executor_work_guard< boost::asio::io_context::executor_type > > work_
std::thread thread_

Detailed Description

Definition at line 49 of file Server_test.cpp.

Constructor & Destructor Documentation

◆ TestThread()

xrpl::test::Server_test::TestThread::TestThread ( )

Definition at line 58 of file Server_test.cpp.

◆ ~TestThread()

xrpl::test::Server_test::TestThread::~TestThread ( )

Definition at line 64 of file Server_test.cpp.

Member Function Documentation

◆ getIoContext()

boost::asio::io_context & xrpl::test::Server_test::TestThread::getIoContext ( )

Definition at line 71 of file Server_test.cpp.

Member Data Documentation

◆ ioContext_

boost::asio::io_context xrpl::test::Server_test::TestThread::ioContext_
private

Definition at line 52 of file Server_test.cpp.

◆ work_

std::optional<boost::asio::executor_work_guard<boost::asio::io_context::executor_type> > xrpl::test::Server_test::TestThread::work_
private

Definition at line 54 of file Server_test.cpp.

◆ thread_

std::thread xrpl::test::Server_test::TestThread::thread_
private

Definition at line 55 of file Server_test.cpp.