#include <zeromqconnection.h>
|
| ZeroMqConnection (QObject *parentObject, zmq::context_t *context, zmq::socket_t *socket) |
|
| ZeroMqConnection (QObject *parentObject, const QString &address) |
|
void | open () |
|
void | start () |
|
void | close () |
|
bool | isOpen () |
|
QString | connectionString () const |
|
bool | send (const PacketType &packet, const EndpointIdType &endpoint) |
|
void | flush () |
|
| Connection (QObject *parentObject=0) |
|
|
static const QString | zeroMqPrefix |
|
Connection subclass using ZeroMQ.
Start receiving messages on this connection
Implements Connection.
Close the connection. Once a conneciton is closed if can't reused.
Implements Connection.
- Returns
- true, if the connection is open ( open has been called, false otherwise
Implements Connection.
QString connectionString |
( |
| ) |
const |
|
virtual |
- Returns
- the connect string description the endpoint the connection is connected to.
Implements Connection.
bool send |
( |
const PacketType & |
packet, |
|
|
const EndpointIdType & |
endpoint |
|
) |
| |
|
virtual |
Send the packet on the connection to endpoint.
Implements Connection.
Flush all pending messages to the other endpoint.
Implements Connection.
The documentation for this class was generated from the following file: