coral
A C++ library for distributed co-simulation
|
A protocol/transport independent endpoint address specification. More...
#include "coral/net.hpp"
Public Member Functions | |
Endpoint () CORAL_NOEXCEPT | |
Default constructor; leaves both transport and adress empty. | |
Endpoint (const std::string &url) | |
Constructor which takes an url on the form "transport://address". | |
Endpoint (const std::string &transport, const std::string &address) | |
Constructor which takes a transport and an address. | |
std::string | Transport () const CORAL_NOEXCEPT |
Returns the transport. | |
std::string | Address () const CORAL_NOEXCEPT |
Returns the address. | |
std::string | URL () const CORAL_NOEXCEPT |
Returns a URL on the form "transport://address". | |
A protocol/transport independent endpoint address specification.