LibreOffice Module io (master) 1
Public Member Functions | Private Attributes | List of all members
io_acceptor::PipeAcceptor Class Reference

#include <acceptor.hxx>

Public Member Functions

 PipeAcceptor (OUString sPipeName, OUString sConnectionDescription)
 
void init ()
 
css::uno::Reference< css::connection::XConnection > accept ()
 
void stopAccepting ()
 

Private Attributes

std::mutex m_mutex
 
::osl::Pipe m_pipe
 
OUString m_sPipeName
 
OUString m_sConnectionDescription
 
bool m_bClosed
 

Detailed Description

Definition at line 32 of file acceptor.hxx.

Constructor & Destructor Documentation

◆ PipeAcceptor()

io_acceptor::PipeAcceptor::PipeAcceptor ( OUString  sPipeName,
OUString  sConnectionDescription 
)

Definition at line 125 of file acc_pipe.cxx.

Member Function Documentation

◆ accept()

Reference< XConnection > io_acceptor::PipeAcceptor::accept ( )

Definition at line 143 of file acc_pipe.cxx.

References m_bClosed, m_mutex, m_pipe, m_sConnectionDescription, and m_sPipeName.

◆ init()

void io_acceptor::PipeAcceptor::init ( )

Definition at line 133 of file acc_pipe.cxx.

References m_pipe, and m_sPipeName.

◆ stopAccepting()

void io_acceptor::PipeAcceptor::stopAccepting ( )

Definition at line 175 of file acc_pipe.cxx.

References m_bClosed, m_mutex, and m_pipe.

Member Data Documentation

◆ m_bClosed

bool io_acceptor::PipeAcceptor::m_bClosed
private

Definition at line 47 of file acceptor.hxx.

Referenced by accept(), and stopAccepting().

◆ m_mutex

std::mutex io_acceptor::PipeAcceptor::m_mutex
private

Definition at line 43 of file acceptor.hxx.

Referenced by accept(), and stopAccepting().

◆ m_pipe

::osl::Pipe io_acceptor::PipeAcceptor::m_pipe
private

Definition at line 44 of file acceptor.hxx.

Referenced by accept(), init(), and stopAccepting().

◆ m_sConnectionDescription

OUString io_acceptor::PipeAcceptor::m_sConnectionDescription
private

Definition at line 46 of file acceptor.hxx.

Referenced by accept().

◆ m_sPipeName

OUString io_acceptor::PipeAcceptor::m_sPipeName
private

Definition at line 45 of file acceptor.hxx.

Referenced by accept(), and init().


The documentation for this class was generated from the following files: