MoleQueue 0.9.0
Loading...
Searching...
No Matches
ZeroMqConnectionListener Class Reference

#include <zeromqconnectionlistener.h>

Inheritance diagram for ZeroMqConnectionListener:
ConnectionListener

Public Member Functions

 ZeroMqConnectionListener (QObject *parentObject, const QString &connectionString)
void start ()
void stop (bool force)
void stop ()
QString connectionString () const
Public Member Functions inherited from ConnectionListener
 ConnectionListener (QObject *parentObject=0)

Additional Inherited Members

Public Types inherited from ConnectionListener
enum  Error {
  AddressInUseError ,
  UnknownError = -1
}
Signals inherited from ConnectionListener
void newConnection (MoleQueue::Connection *connection)
void connectionError (MoleQueue::ConnectionListener::Error errorCode, const QString &message)

Detailed Description

ConnectionListener subclass using ZeroMQ.

Member Function Documentation

◆ start()

void start ( )
virtual

Start the connection listener, start listening for incoming connections.

Implements ConnectionListener.

◆ stop() [1/2]

void stop ( bool force)
virtual

Stop the connection listener.

Parameters
forceif true, "extreme" measures may be taken to stop the listener.

Implements ConnectionListener.

◆ stop() [2/2]

void stop ( )
virtual

Stop the connection listener without forcing it, equivalent to stop(false)

See also
stop(bool)

Implements ConnectionListener.

◆ connectionString()

QString connectionString ( ) const
virtual
Returns
the "address" the listener will listen on.

Implements ConnectionListener.


The documentation for this class was generated from the following file: