#include <Connection.h>
This class implements the Connection which is used as default in all functions.
◆ Connection() [1/2]
| cloudViewer::io::rpc::Connection::Connection |
( |
| ) |
|
Creates a connection with the default parameters.
◆ Connection() [2/2]
| cloudViewer::io::rpc::Connection::Connection |
( |
const std::string & |
address, |
|
|
int |
connect_timeout, |
|
|
int |
timeout |
|
) |
| |
Creates a Connection object used for sending data.
- Parameters
-
| address | The address of the receiving end. |
| connect_timeout | The timeout for the connect operation of the socket. |
| timeout | The timeout for sending data. |
◆ ~Connection()
| cloudViewer::io::rpc::Connection::~Connection |
( |
| ) |
|
◆ DefaultAddress()
| std::string cloudViewer::io::rpc::Connection::DefaultAddress |
( |
| ) |
|
|
static |
◆ Send() [1/2]
| std::shared_ptr< zmq::message_t > cloudViewer::io::rpc::Connection::Send |
( |
const void * |
data, |
|
|
size_t |
size |
|
) |
| |
|
virtual |
◆ Send() [2/2]
| std::shared_ptr< zmq::message_t > cloudViewer::io::rpc::Connection::Send |
( |
zmq::message_t & |
send_msg | ) |
|
|
virtual |
The documentation for this class was generated from the following files: