Connection client that connects to an upstream GridConnect-TCP hub via TCP client socket.
More...
#include <ClientConnection.hxx>
|
| string | host_ |
| | where to connect to (host name)
|
| |
| int | port_ |
| | where to connect to (TCP port number)
|
| |
Connection client that connects to an upstream GridConnect-TCP hub via TCP client socket.
Definition at line 204 of file ClientConnection.hxx.
◆ UpstreamConnectionClient()
template<typename HubType >
| UpstreamConnectionClient::UpstreamConnectionClient |
( |
const string & |
name, |
|
|
HubType * |
hub, |
|
|
const string & |
host, |
|
|
int |
port |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
| name | user-readable name that will be printed upon an error. |
| hub | CAN packet hub or GC DirectHub to connect this device to |
| host | where to connect to |
| port | where to connect to |
Definition at line 214 of file ClientConnection.hxx.
◆ ~UpstreamConnectionClient()
| virtual UpstreamConnectionClient::~UpstreamConnectionClient |
( |
| ) |
|
|
inlinevirtual |
◆ try_connect()
| void UpstreamConnectionClient::try_connect |
( |
| ) |
|
|
inlineprivatevirtual |
◆ host_
| string UpstreamConnectionClient::host_ |
|
private |
◆ port_
| int UpstreamConnectionClient::port_ |
|
private |
The documentation for this class was generated from the following file: