ZIO
Python and C++ interface to ZeroMQ and Zyre
Namespaces | Classes | Functions
zio::domo Namespace Reference

Namespaces

 broker
 
 client
 
 mdp
 
 MDP
 
 tripping
 
 worker
 
 zhelpers
 

Classes

class  Broker
 
class  Client
 
class  Worker
 

Functions

void broker_actor (zio::socket_t &link, std::string address, int socktype)
 
void echo_worker (zio::socket_t &link, std::string address, int socktype)
 

Function Documentation

◆ broker_actor()

void zio::domo::broker_actor ( zio::socket_t link,
std::string  address,
int  socktype 
)

The launch and forget ZIO domo broker actor function.

The broker is in the form of a function intended to be called from a zio::zactor_t.

The socktype should be either SERVER or ROUTER. If ROUTER, the broker will act as a 7/MDP v0.1 broker. Else it will act as a GDP broker.

The actor protocol supports the commands:

  • (BIND, address) :: bind broker socket to address
  • (START) :: enter main brokering loop

Definition at line 304 of file domo_broker.cpp.

◆ echo_worker()

void zio::domo::echo_worker ( zio::socket_t link,
std::string  address,
int  socktype 
)

Definition at line 141 of file domo_worker.cpp.