![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <Connection.h>


Public Member Functions | |
| Connection () | |
| Creates a connection with the default parameters. More... | |
| Connection (const std::string &address, int connect_timeout, int timeout) | |
| ~Connection () | |
| std::shared_ptr< zmq::message_t > | Send (zmq::message_t &send_msg) |
| Function for sending data wrapped in a zmq message object. More... | |
| std::shared_ptr< zmq::message_t > | Send (const void *data, size_t size) |
| Function for sending raw data. Meant for testing purposes. More... | |
Public Member Functions inherited from cloudViewer::io::rpc::ConnectionBase | |
| ConnectionBase () | |
| virtual | ~ConnectionBase () |
Static Public Member Functions | |
| static std::string | DefaultAddress () |
This class implements the Connection which is used as default in all functions.
Definition at line 22 of file Connection.h.
| cloudViewer::io::rpc::Connection::Connection | ( | ) |
Creates a connection with the default parameters.
Definition at line 32 of file Connection.cpp.
| cloudViewer::io::rpc::Connection::Connection | ( | const std::string & | address, |
| int | connect_timeout, | ||
| int | timeout | ||
| ) |
Creates a Connection object used for sending data.
| address | The address of the receiving end. |
| connect_timeout | The timeout for the connect operation of the socket. |
| timeout | The timeout for sending data. |
Definition at line 36 of file Connection.cpp.
| cloudViewer::io::rpc::Connection::~Connection | ( | ) |
Definition at line 51 of file Connection.cpp.
|
static |
Definition at line 80 of file Connection.cpp.
|
virtual |
Function for sending raw data. Meant for testing purposes.
Implements cloudViewer::io::rpc::ConnectionBase.
Definition at line 74 of file Connection.cpp.
|
virtual |
Function for sending data wrapped in a zmq message object.
Implements cloudViewer::io::rpc::ConnectionBase.
Definition at line 53 of file Connection.cpp.
References LogDebug, and LogInfo.
Referenced by Send().