SNode.C
Loading...
Searching...
No Matches
net::phy::dgram::PeerSocket< SocketAddressT > Class Template Reference

#include <PeerSocket.h>

Inheritance diagram for net::phy::dgram::PeerSocket< SocketAddressT >:
Collaboration diagram for net::phy::dgram::PeerSocket< SocketAddressT >:

Public Types

using SocketAddress = SocketAddressT
 
- Public Types inherited from net::phy::PhysicalSocket< SocketAddressT >
enum  Flags { NONE = 0 , NONBLOCK = SOCK_NONBLOCK , CLOEXIT = SOCK_CLOEXEC }
 

Protected Types

using Super = net::phy::PhysicalSocket<SocketAddressT>
 
- Protected Types inherited from net::phy::PhysicalSocket< SocketAddressT >
using SocketAddress = SocketAddressT
 

Additional Inherited Members

- Public Member Functions inherited from net::phy::PhysicalSocket< SocketAddressT >
 PhysicalSocket ()=delete
 
 PhysicalSocket (PhysicalSocket &)=delete
 
PhysicalSocketoperator= (PhysicalSocket &)=delete
 
 PhysicalSocket (const PhysicalSocket &)=delete
 
PhysicalSocketoperator= (const PhysicalSocket &)=delete
 
 PhysicalSocket (int fd, const SocketAddress &bindAddress)
 
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
 
- Protected Member Functions inherited from net::phy::PhysicalSocket< SocketAddressT >
 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< SocketAddressT >
SocketAddress bindAddress
 
int domain = 0
 
int type = 0
 
int protocol = 0
 

Detailed Description

template<typename SocketAddressT>
class net::phy::dgram::PeerSocket< SocketAddressT >

Definition at line 36 of file PeerSocket.h.

Member Typedef Documentation

◆ SocketAddress

template<typename SocketAddressT >
using net::phy::dgram::PeerSocket< SocketAddressT >::SocketAddress = SocketAddressT

Definition at line 43 of file PeerSocket.h.

◆ Super

template<typename SocketAddressT >
using net::phy::dgram::PeerSocket< SocketAddressT >::Super = net::phy::PhysicalSocket<SocketAddressT>
protected

Definition at line 38 of file PeerSocket.h.


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