SNode.C
Loading...
Searching...
No Matches
net::un::phy::stream::PhysicalSocketClient Class Reference

#include <PhysicalSocketClient.h>

Inheritance diagram for net::un::phy::stream::PhysicalSocketClient:
Collaboration diagram for net::un::phy::stream::PhysicalSocketClient:

Public Types

using Super = net::un::phy::stream::PhysicalSocket<net::phy::stream::PhysicalSocketClient>
 
- Public Types inherited from net::un::phy::stream::PhysicalSocket< net::phy::stream::PhysicalSocketClient >
using Super
 
- Public Types inherited from net::un::phy::PhysicalSocket< net::phy::stream::PhysicalSocketClient >
using Super
 
- Public Types inherited from net::phy::stream::PhysicalSocketClient< net::un::SocketAddress >
using Super
 
using SocketAddress
 
- Public Types inherited from net::phy::stream::PhysicalSocket< net::un::SocketAddress >
enum  SHUT
 
using Super
 
using SocketAddress
 
- Public Types inherited from net::phy::PhysicalSocket< net::un::SocketAddress >
enum  Flags
 

Public Member Functions

 PhysicalSocketClient (PhysicalSocketClient &&) noexcept=default
 
 ~PhysicalSocketClient () override
 
- Public Member Functions inherited from net::un::phy::stream::PhysicalSocket< net::phy::stream::PhysicalSocketClient >
 PhysicalSocket ()
 
 PhysicalSocket (PhysicalSocket &&) noexcept=default
 
 ~PhysicalSocket () override
 
- Public Member Functions inherited from net::un::phy::PhysicalSocket< net::phy::stream::PhysicalSocketClient >
 PhysicalSocket (int type, int protocol)
 
 PhysicalSocket (PhysicalSocket &&physicalSocket) noexcept
 
PhysicalSocketoperator= (PhysicalSocket &&physicalSocket) noexcept
 
 ~PhysicalSocket () override
 
int bind (SocketAddress &bindAddress)
 
- Public Member Functions inherited from net::phy::stream::PhysicalSocketClient< net::un::SocketAddress >
int connect (SocketAddress &remoteAddress)
 
- Public Member Functions inherited from net::phy::stream::PhysicalSocket< net::un::SocketAddress >
int shutdown (SHUT how)
 
- Public Member Functions inherited from net::phy::PhysicalSocket< net::un::SocketAddress >
 PhysicalSocket ()=delete
 
 PhysicalSocket (PhysicalSocket &)=delete
 
 PhysicalSocket (const PhysicalSocket &)=delete
 
 PhysicalSocket (int fd, const SocketAddress &bindAddress)
 
PhysicalSocketoperator= (PhysicalSocket &)=delete
 
PhysicalSocketoperator= (const PhysicalSocket &)=delete
 
int open (const std::map< int, const PhysicalSocketOption > &socketOptions, Flags flags)
 
int bind (SocketAddress &bindAddress)
 
bool isValid () const
 
int getSockError (int &cErrno) const
 
int getSockName (typename SocketAddress::SockAddr &localSockAddr, typename SocketAddress::SockLen &localSockAddrLen)
 
int getPeerName (typename SocketAddress::SockAddr &remoteSockAddr, typename SocketAddress::SockLen &remoteSockAddrLen)
 
SocketAddress getBindAddress () const
 
- Public Member Functions inherited from core::Descriptor
 Descriptor ()=delete
 
 Descriptor (const Descriptor &d)=delete
 
Descriptoroperator= (int fd)
 
Descriptoroperator= (const Descriptor &descriptor)=delete
 
Descriptoroperator= (Descriptor &&descriptor) noexcept
 
int getFd () const
 

Static Public Member Functions

static bool connectInProgress (int cErrno)
 
- Static Public Member Functions inherited from net::phy::stream::PhysicalSocketClient< net::un::SocketAddress >
static bool connectInProgress (int cErrno)
 

Additional Inherited Members

- Protected Types inherited from net::phy::PhysicalSocket< net::un::SocketAddress >
using SocketAddress
 
- Protected Member Functions inherited from net::phy::PhysicalSocket< net::un::SocketAddress >
 PhysicalSocket (int domain, int type, int protocol)
 
 PhysicalSocket (PhysicalSocket &&physicalSocket) noexcept=default
 
PhysicalSocketoperator= (PhysicalSocket &&) noexcept=default
 
 ~PhysicalSocket () override
 
- Protected Member Functions inherited from core::Descriptor
 Descriptor (int fd)
 
 Descriptor (Descriptor &&descriptor) noexcept
 
virtual ~Descriptor ()
 
- Protected Attributes inherited from net::phy::PhysicalSocket< net::un::SocketAddress >
SocketAddress bindAddress
 
int domain
 
int type
 
int protocol
 

Detailed Description

Definition at line 34 of file PhysicalSocketClient.h.

Member Typedef Documentation

◆ Super

Constructor & Destructor Documentation

◆ PhysicalSocketClient()

net::un::phy::stream::PhysicalSocketClient::PhysicalSocketClient ( PhysicalSocketClient && )
defaultnoexcept

◆ ~PhysicalSocketClient()

net::un::phy::stream::PhysicalSocketClient::~PhysicalSocketClient ( )
override

Definition at line 33 of file PhysicalSocketClient.cpp.

33 {
34 }

Member Function Documentation

◆ connectInProgress()

bool net::un::phy::stream::PhysicalSocketClient::connectInProgress ( int cErrno)
static

Definition at line 36 of file PhysicalSocketClient.cpp.

36 {
37 return cErrno == EAGAIN;
38 }

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