Public Member Functions | Static Public Attributes | Private Attributes
rail::spatial_temporal_learning::worldlib::remote::Client Class Reference

The abstract remote client. More...

#include <Client.h>

Inheritance diagram for rail::spatial_temporal_learning::worldlib::remote::Client:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Client (const std::string &host="localhost", const uint16_t port=DEFAULT_PORT)
 Create a new Client.
const std::string & getHost () const
 Host value accessor.
uint16_t getPort () const
 Port value accessor.

Static Public Attributes

static const unsigned int DEFAULT_PORT = 80

Private Attributes

const std::string host_
uint16_t port_

Detailed Description

The abstract remote client.

The abstract remote client contains parameters for common remote connections.

Definition at line 33 of file Client.h.


Constructor & Destructor Documentation

Client::Client ( const std::string &  host = "localhost",
const uint16_t  port = DEFAULT_PORT 
)

Create a new Client.

Creates a new Client with the given connection information.

Parameters:
hostThe host of the remote connection (defaults to localhost).
portThe host port of the remote connection (defaults to port 80).

Definition at line 17 of file Client.cpp.


Member Function Documentation

const string & Client::getHost ( ) const

Host value accessor.

Get the host value of this Client.

Returns:
The host value.

Definition at line 22 of file Client.cpp.

uint16_t Client::getPort ( ) const

Port value accessor.

Get the port value of this Client.

Returns:
The port value.

Definition at line 27 of file Client.cpp.


Member Data Documentation

Remote connection host.

Definition at line 69 of file Client.h.

Remote connection port.

Definition at line 71 of file Client.h.


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


worldlib
Author(s): Russell Toris
autogenerated on Fri Feb 12 2016 00:24:19