SNode.C
|
#include <PhysicalSocket.h>
Public Types | |
using | Super = PhysicalPeerSocketT< net::un::SocketAddress > |
Public Member Functions | |
PhysicalSocket (int type, int protocol) | |
PhysicalSocket (PhysicalSocket &&physicalSocket) noexcept | |
PhysicalSocket & | operator= (PhysicalSocket &&physicalSocket) noexcept |
~PhysicalSocket () override | |
int | bind (SocketAddress &bindAddress) |
Private Attributes | |
int | lockFd = -1 |
Definition at line 55 of file PhysicalSocket.h.
using net::un::phy::PhysicalSocket< PhysicalPeerSocketT >::Super = PhysicalPeerSocketT<net::un::SocketAddress> |
Definition at line 57 of file PhysicalSocket.h.
net::un::phy::PhysicalSocket< PhysicalPeerSocket >::PhysicalSocket | ( | int | type, |
int | protocol | ||
) |
Definition at line 60 of file PhysicalSocket.hpp.
Referenced by net::un::dgram::Socket::Socket().
|
noexcept |
Definition at line 65 of file PhysicalSocket.hpp.
|
override |
Definition at line 79 of file PhysicalSocket.hpp.
References core::system::close(), core::system::flock(), and net::un::phy::PhysicalSocket< PhysicalPeerSocketT >::lockFd.
int net::un::phy::PhysicalSocket< PhysicalPeerSocket >::bind | ( | SocketAddress & | bindAddress | ) |
Definition at line 105 of file PhysicalSocket.hpp.
References core::system::close(), core::system::flock(), net::un::SocketAddress::getSunPath(), and net::un::phy::PhysicalSocket< PhysicalPeerSocketT >::lockFd.
|
noexcept |
Definition at line 71 of file PhysicalSocket.hpp.
References net::un::phy::PhysicalSocket< PhysicalPeerSocketT >::lockFd.
|
private |
Definition at line 70 of file PhysicalSocket.h.
Referenced by net::un::phy::PhysicalSocket< PhysicalPeerSocketT >::bind(), net::un::phy::PhysicalSocket< PhysicalPeerSocketT >::operator=(), and net::un::phy::PhysicalSocket< PhysicalPeerSocketT >::~PhysicalSocket().