LibreOffice Module io (master) 1
|
#include <connector.hxx>
Public Member Functions | |
SocketConnection (OUString sConnectionDescription) | |
virtual | ~SocketConnection () override |
virtual sal_Int32 SAL_CALL | read (css::uno::Sequence< sal_Int8 > &aReadBytes, sal_Int32 nBytesToRead) override |
virtual void SAL_CALL | write (const css::uno::Sequence< sal_Int8 > &aData) override |
virtual void SAL_CALL | flush () override |
virtual void SAL_CALL | close () override |
virtual OUString SAL_CALL | getDescription () override |
virtual void SAL_CALL | addStreamListener (const css::uno::Reference< css::io::XStreamListener > &aListener) override |
virtual void SAL_CALL | removeStreamListener (const css::uno::Reference< css::io::XStreamListener > &aListener) override |
void | completeConnectionString () |
Public Attributes | |
::osl::ConnectorSocket | m_socket |
oslInterlockedCount | m_nStatus |
OUString | m_sDescription |
std::mutex | _mutex |
bool | _started |
bool | _closed |
bool | _error |
XStreamListener_hash_set | _listeners |
Definition at line 57 of file connector.hxx.
|
explicit |
Definition at line 133 of file acc_socket.cxx.
References m_sDescription, and m_socket.
|
overridevirtual |
Definition at line 98 of file ctr_socket.cxx.
|
overridevirtual |
Definition at line 254 of file acc_socket.cxx.
References _listeners, and _mutex.
|
overridevirtual |
Definition at line 237 of file acc_socket.cxx.
References _closed, stoc_connector::callClosed(), m_nStatus, m_socket, and stoc_connector::notifyListeners().
void stoc_connector::SocketConnection::completeConnectionString | ( | ) |
Definition at line 147 of file acc_socket.cxx.
References m_sDescription, and m_socket.
|
overridevirtual |
Definition at line 232 of file acc_socket.cxx.
|
overridevirtual |
Definition at line 247 of file acc_socket.cxx.
References m_sDescription.
|
overridevirtual |
Definition at line 156 of file acc_socket.cxx.
References _error, _started, Any, any, stoc_connector::callStarted(), i, m_nStatus, m_socket, and stoc_connector::notifyListeners().
|
overridevirtual |
Definition at line 261 of file acc_socket.cxx.
References _listeners, and _mutex.
|
overridevirtual |
Definition at line 200 of file acc_socket.cxx.
References _error, Any, any, m_nStatus, m_socket, and stoc_connector::notifyListeners().
bool stoc_connector::SocketConnection::_closed |
Definition at line 86 of file connector.hxx.
Referenced by close().
bool stoc_connector::SocketConnection::_error |
Definition at line 87 of file connector.hxx.
XStreamListener_hash_set stoc_connector::SocketConnection::_listeners |
Definition at line 89 of file connector.hxx.
Referenced by addStreamListener(), stoc_connector::notifyListeners(), and removeStreamListener().
std::mutex stoc_connector::SocketConnection::_mutex |
Definition at line 84 of file connector.hxx.
Referenced by addStreamListener(), stoc_connector::notifyListeners(), and removeStreamListener().
bool stoc_connector::SocketConnection::_started |
Definition at line 85 of file connector.hxx.
Referenced by read().
oslInterlockedCount stoc_connector::SocketConnection::m_nStatus |
Definition at line 81 of file connector.hxx.
OUString stoc_connector::SocketConnection::m_sDescription |
Definition at line 82 of file connector.hxx.
Referenced by completeConnectionString(), getDescription(), and SocketConnection().
::osl::ConnectorSocket stoc_connector::SocketConnection::m_socket |
Definition at line 80 of file connector.hxx.
Referenced by close(), completeConnectionString(), read(), SocketConnection(), and write().