coral
A C++ library for distributed co-simulation
Public Member Functions | List of all members
coral::net::Endpoint Class Reference

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".
 

Detailed Description

A protocol/transport independent endpoint address specification.


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