|
libBsdSockets
C++ Wrapper classes to the BSD Socket API
|
Local Socket Address (formerly Unix Domain Socket) Address representing a named pipe's name. More...
#include <LocalAddress.h>


Public Types | |
| typedef std::shared_ptr< LocalAddress > | Ptr |
Public Types inherited from BsdSockets::Address | |
| typedef std::shared_ptr< Address > | Ptr |
Public Member Functions | |
| virtual | ~LocalAddress () |
| const std::string & | getPath () const |
| virtual std::shared_ptr< LowLevelAddress > | makeTempLowLevelAddress () const |
| virtual Address::Ptr | create (std::shared_ptr< LowLevelAddress > lowLevelAddress) const |
| virtual LowLevelAddress & | getLowLevelAddress () const |
Public Member Functions inherited from BsdSockets::Address | |
| virtual | ~Address () |
| SocketDomain | getSocketDomain () const |
| SocketType | getSocketType () const |
| int | getProtocol () const |
Static Public Member Functions | |
| static LocalAddress::Ptr | create (const std::string &thePath) |
Additional Inherited Members | |
Protected Member Functions inherited from BsdSockets::Address | |
| Address (SocketDomain theSocketDomain, SocketType theSocketType, int theProtocol) | |
| Address (const Address &rhs) | |
Local Socket Address (formerly Unix Domain Socket) Address representing a named pipe's name.
Definition at line 35 of file LocalAddress.h.
| typedef std::shared_ptr<LocalAddress> BsdSockets::LocalAddress::Ptr |
Definition at line 37 of file LocalAddress.h.
|
virtual |
Virtual destructor to support derived classes
Definition at line 71 of file LocalAddress.cpp.
|
static |
Create from thePath string
| thePath | path to create from, cannot be empty, must be shorter than the unspecified maximum length for this system. |
Definition at line 67 of file LocalAddress.cpp.
|
virtual |
Create a new Address from a LowLevelAddress using this Address as a template.
| lowLevelAddress | data to create from |
Implements BsdSockets::Address.
Definition at line 91 of file LocalAddress.cpp.
|
virtual |
Method for derived classes to provide access to the LowLevelAddress information
Implements BsdSockets::Address.
Definition at line 100 of file LocalAddress.cpp.
| const std::string & BsdSockets::LocalAddress::getPath | ( | ) | const |
Definition at line 83 of file LocalAddress.cpp.
|
virtual |
Implements BsdSockets::Address.
Definition at line 87 of file LocalAddress.cpp.