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

#include <acceptor.hxx>

Public Member Functions

 SocketAcceptor (OUString sSocketName, sal_uInt16 nPort, bool bTcpNoDelay, OUString sConnectionDescription)
 
void init ()
 
css::uno::Reference< css::connection::XConnection > accept ()
 
void stopAccepting ()
 

Private Attributes

::osl::SocketAddr m_addr
 
::osl::AcceptorSocket m_socket
 
OUString m_sSocketName
 
OUString m_sConnectionDescription
 
sal_uInt16 m_nPort
 
bool m_bTcpNoDelay
 
bool m_bClosed
 

Detailed Description

Definition at line 50 of file acceptor.hxx.

Constructor & Destructor Documentation

◆ SocketAcceptor()

io_acceptor::SocketAcceptor::SocketAcceptor ( OUString  sSocketName,
sal_uInt16  nPort,
bool  bTcpNoDelay,
OUString  sConnectionDescription 
)

Definition at line 268 of file acc_socket.cxx.

Member Function Documentation

◆ accept()

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

Definition at line 311 of file acc_socket.cxx.

References m_bClosed, m_bTcpNoDelay, m_sConnectionDescription, and m_socket.

◆ init()

void io_acceptor::SocketAcceptor::init ( )

Definition at line 281 of file acc_socket.cxx.

References m_addr, m_nPort, m_socket, and m_sSocketName.

◆ stopAccepting()

void io_acceptor::SocketAcceptor::stopAccepting ( )

Definition at line 342 of file acc_socket.cxx.

References m_bClosed, and m_socket.

Member Data Documentation

◆ m_addr

::osl::SocketAddr io_acceptor::SocketAcceptor::m_addr
private

Definition at line 64 of file acceptor.hxx.

Referenced by init().

◆ m_bClosed

bool io_acceptor::SocketAcceptor::m_bClosed
private

Definition at line 70 of file acceptor.hxx.

Referenced by accept(), and stopAccepting().

◆ m_bTcpNoDelay

bool io_acceptor::SocketAcceptor::m_bTcpNoDelay
private

Definition at line 69 of file acceptor.hxx.

Referenced by accept().

◆ m_nPort

sal_uInt16 io_acceptor::SocketAcceptor::m_nPort
private

Definition at line 68 of file acceptor.hxx.

Referenced by init().

◆ m_sConnectionDescription

OUString io_acceptor::SocketAcceptor::m_sConnectionDescription
private

Definition at line 67 of file acceptor.hxx.

Referenced by accept().

◆ m_socket

::osl::AcceptorSocket io_acceptor::SocketAcceptor::m_socket
private

Definition at line 65 of file acceptor.hxx.

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

◆ m_sSocketName

OUString io_acceptor::SocketAcceptor::m_sSocketName
private

Definition at line 66 of file acceptor.hxx.

Referenced by init().


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