#include <zypp-core/zyppng/io/private/socket_p.h>
Definition at line 28 of file socket_p.h.
◆ SocketPrivate()
zyppng::SocketPrivate::SocketPrivate |
( |
int | domain, |
|
|
int | type, |
|
|
int | protocol, |
|
|
Socket & | p ) |
|
inline |
◆ wrapSocket()
◆ initSocket()
bool zyppng::SocketPrivate::initSocket |
( |
| ) |
|
◆ setError()
◆ handleConnectError()
bool zyppng::SocketPrivate::handleConnectError |
( |
int | error | ) |
|
Maps error into a Socket::SocketError and sets it accordingly in the socket. Returns false if the error is fatal and connection needs to stop.
Definition at line 300 of file socket.cc.
◆ transition()
◆ state()
◆ connectToHost()
bool zyppng::SocketPrivate::connectToHost |
( |
| ) |
|
◆ onSocketActivated()
void zyppng::SocketPrivate::onSocketActivated |
( |
int | ev | ) |
|
◆ onSocketActivatedSlot()
void zyppng::SocketPrivate::onSocketActivatedSlot |
( |
const SocketNotifier & | , |
|
|
int | ev ) |
|
inline |
◆ rawBytesAvailable()
int64_t zyppng::SocketPrivate::rawBytesAvailable |
( |
| ) |
const |
◆ readRawBytesToBuffer()
bool zyppng::SocketPrivate::readRawBytesToBuffer |
( |
| ) |
|
◆ writePendingData()
bool zyppng::SocketPrivate::writePendingData |
( |
| ) |
|
◆ _domain
int zyppng::SocketPrivate::_domain |
◆ _type
int zyppng::SocketPrivate::_type |
◆ _protocol
int zyppng::SocketPrivate::_protocol |
◆ _targetAddr
std::shared_ptr<SockAddr> zyppng::SocketPrivate::_targetAddr |
◆ _socket
int zyppng::SocketPrivate::_socket = -1 |
◆ _borrowedSocket
bool zyppng::SocketPrivate::_borrowedSocket = false |
◆ _emittedErr
bool zyppng::SocketPrivate::_emittedErr = false |
◆ _error
◆ _errorDesc
std::string zyppng::SocketPrivate::_errorDesc |
◆ _sigError
◆ _incomingConnection
Signal< void()> zyppng::SocketPrivate::_incomingConnection |
◆ _connected
Signal< void()> zyppng::SocketPrivate::_connected |
◆ _disconnected
Signal< void()> zyppng::SocketPrivate::_disconnected |
◆ _state
The documentation for this class was generated from the following files: