ZeroMQ transport class. ZeroMQ socket instances must only be called by a single thread of control. Each transport instance has its own internal thread of control and all transport APIs are asynchronous. Each instances is an "active
object" with a private internal thread of control and async public APIs.
More...
#include <ZeroMqTransport.h>
ZeroMQ transport class. ZeroMQ socket instances must only be called by a single thread of control. Each transport instance has its own internal thread of control and all transport APIs are asynchronous. Each instances is an "active
object" with a private internal thread of control and async public APIs.
◆ Type
| Enumerator |
|---|
| PAIR_CLIENT | |
| PAIR_SERVER | |
| PUB | |
| SUB | |
◆ ZeroMqTransport()
| ZeroMqTransport::ZeroMqTransport |
( |
| ) |
|
|
inline |
◆ ~ZeroMqTransport()
| ZeroMqTransport::~ZeroMqTransport |
( |
| ) |
|
|
inline |
◆ Close()
| void ZeroMqTransport::Close |
( |
| ) |
|
|
inline |
◆ Create()
| int ZeroMqTransport::Create |
( |
Type | type, |
|
|
const char * | addr ) |
|
inline |
◆ Destroy()
| void ZeroMqTransport::Destroy |
( |
| ) |
|
|
inline |
◆ Receive()
Receive data from a remote
- Parameters
-
| [out] | is | The received incoming data bytes, not including the header. |
| [out] | header | Incoming delegate message header. |
- Returns
- 0 if success.
Implements ITransport.
◆ Send()
Send data to a remote
- Parameters
-
| [in] | os | Output stream to send. |
| [in] | header | The header to send. |
- Returns
- 0 if success.
Implements ITransport.
◆ SetRecvTransport()
| void ZeroMqTransport::SetRecvTransport |
( |
ITransport * | recvTransport | ) |
|
|
inline |
◆ SetSendTransport()
| void ZeroMqTransport::SetSendTransport |
( |
ITransport * | sendTransport | ) |
|
|
inline |
◆ SetTransportMonitor()
The documentation for this class was generated from the following file: