blocxx
|
#include <SocketImpl.hpp>
Public Member Functions | |
SocketImpl () | |
SocketImpl (SocketHandle_t fd, SocketAddress::AddressType addrType) | |
SocketImpl (const SocketAddress &addr) | |
virtual | ~SocketImpl () |
Select_t | getSelectObj () const |
![]() | |
SocketBaseImpl () | |
SocketBaseImpl (SocketHandle_t fd, SocketAddress::AddressType addrType) | |
SocketBaseImpl (const SocketAddress &addr) | |
virtual | ~SocketBaseImpl () |
virtual void | connect (const SocketAddress &addr) |
virtual void | disconnect () |
void | setReceiveTimeout (const Timeout &timeout) |
Timeout | getReceiveTimeout () const |
void | setSendTimeout (const Timeout &timeout) |
Timeout | getSendTimeout () const |
void | setConnectTimeout (const Timeout &timeout) |
Timeout | getConnectTimeout () const |
void | setTimeouts (const Timeout &timeout) |
bool | receiveTimeOutExpired () const |
int | write (const void *dataOut, int dataOutLen, ErrorAction errorAsException=E_RETURN_ON_ERROR) |
Write a specified number of bytes to the device that is exposing the IOIFC interface. | |
int | read (void *dataIn, int dataInLen, ErrorAction errorAsException=E_RETURN_ON_ERROR) |
Read a specified number of bytes from the device that is exposing the IOIFC interface. | |
virtual bool | waitForInput (const Timeout &timeout) |
bool | waitForOutput (const Timeout &timeout) |
std::istream & | getInputStream () |
std::ostream & | getOutputStream () |
std::iostream & | getIOStream () |
SocketAddress | getLocalAddress () const |
SocketAddress | getPeerAddress () const |
SocketHandle_t | getfd () const |
bool | isConnected () const |
![]() | |
virtual | ~SelectableIFC () |
![]() | |
virtual | ~IOIFC () |
Protected Member Functions | |
virtual int | readAux (void *dataIn, int dataInLen) |
virtual int | writeAux (const void *dataOut, int dataOutLen) |
![]() | |
IntrusiveCountableBase () | |
IntrusiveCountableBase (const IntrusiveCountableBase &) | |
IntrusiveCountableBase & | operator= (const IntrusiveCountableBase &) |
virtual | ~IntrusiveCountableBase () |
Additional Inherited Members | |
![]() | |
enum | ErrorAction { E_THROW_ON_ERROR , E_RETURN_ON_ERROR } |
![]() | |
static void | setDumpFiles (const String &in, const String &out) |
![]() | |
bool | m_isConnected |
SocketHandle_t | m_sockfd |
SocketAddress | m_localAddress |
SocketAddress | m_peerAddress |
Definition at line 55 of file SocketImpl.hpp.
BLOCXX_NAMESPACE::SocketImpl::SocketImpl | ( | ) |
Definition at line 51 of file SocketImpl.cpp.
References BLOCXX_NAMESPACE::SocketBaseImpl::SocketBaseImpl().
BLOCXX_NAMESPACE::SocketImpl::SocketImpl | ( | SocketHandle_t | fd, |
SocketAddress::AddressType | addrType ) |
Definition at line 56 of file SocketImpl.cpp.
References BLOCXX_NAMESPACE::SocketBaseImpl::SocketBaseImpl().
|
explicit |
Definition at line 61 of file SocketImpl.cpp.
References BLOCXX_NAMESPACE::SocketBaseImpl::SocketBaseImpl().
|
virtual |
Definition at line 66 of file SocketImpl.cpp.
|
virtual |
Reimplemented from BLOCXX_NAMESPACE::SocketBaseImpl.
Definition at line 71 of file SocketImpl.cpp.
References BLOCXX_NAMESPACE::SocketBaseImpl::m_sockfd.
|
protectedvirtual |
Implements BLOCXX_NAMESPACE::SocketBaseImpl.
Definition at line 86 of file SocketImpl.cpp.
References BLOCXX_NAMESPACE::SocketBaseImpl::m_sockfd.
|
protectedvirtual |
Implements BLOCXX_NAMESPACE::SocketBaseImpl.
Definition at line 95 of file SocketImpl.cpp.
References BLOCXX_NAMESPACE::SocketBaseImpl::m_sockfd.