MoleQueue  0.8.0
 All Classes Functions Variables Enumerations Enumerator Pages
Public Member Functions | List of all members
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

void start ( )
virtual

Start the connection listener, start listening for incoming connections.

Implements ConnectionListener.

void stop ( bool  force)
virtual

Stop the connection listener.

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

Implements ConnectionListener.

void stop ( )
virtual

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

See Also
stop(bool)

Implements ConnectionListener.

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: