#include <molequeue/servercore/connection.h>
|
| Connection (QObject *parentObject=0) |
|
virtual void | open ()=0 |
|
virtual void | start ()=0 |
|
virtual void | close ()=0 |
|
virtual bool | isOpen ()=0 |
|
virtual QString | connectionString () const =0 |
|
virtual bool | send (const PacketType &packet, const EndpointIdType &endpoint)=0 |
|
virtual void | flush ()=0 |
|
The Connection class is an interface defining the connection using to communicate between MoleQueue processes. Subclasses provide concrete implements for example based on local socket.
- See Also
- LocalSocketConnection
virtual QString connectionString |
( |
| ) |
const |
|
pure virtual |
virtual bool send |
( |
const PacketType & |
packet, |
|
|
const EndpointIdType & |
endpoint |
|
) |
| |
|
pure virtual |
void packetReceived |
( |
const MoleQueue::PacketType & |
packet, |
|
|
const MoleQueue::EndpointIdType & |
endpoint |
|
) |
| |
|
signal |
Emitted when a new message has been received on this connection.
- Parameters
-
Emited when the connection is disconnected.
The documentation for this class was generated from the following file: