NetCpp  v0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros Pages
address Class Reference

Address for local stream communications. More...

#include <stream_local.hpp>

Inheritance diagram for address:
Inheritance graph

Public Member Functions

 address (const std::string &addr)
 Constructor.
std::string getAddress () const
 Get the path of the local socket.

Private Attributes

std::string address_
 Path of the local socket:

Detailed Description

Address for local stream communications.

Definition at line 43 of file stream_local.hpp.

Constructor & Destructor Documentation

address ( const std::string &  addr)
inline

Constructor.

Parameters
addrstd::string containing the path of the local socket

Definition at line 50 of file stream_local.hpp.

:
address_{addr}{};

Member Function Documentation

std::string getAddress ( ) const
inlinevirtual

Get the path of the local socket.

Returns
a std::string containing the path of the local socket

Implements Address.

Definition at line 58 of file stream_local.hpp.

{
return address_;
}

Member Data Documentation

std::string address_
private

Path of the local socket:

Definition at line 63 of file stream_local.hpp.


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