BlueZero (BØ)
Middleware for distributed applications
Public Member Functions | List of all members
b0::resolver::Client Class Reference

The resolver client. More...

#include <b0/resolver/client.h>

Inheritance diagram for b0::resolver::Client:

Public Member Functions

 Client (b0::Node *node)
 Resolver client constructr.
 
virtual ~Client ()
 Resolver client destructor.
 
void setAnnounceTimeout (int timeout=-1)
 Set a timeout for the read in the announce phase. Use -1 for no timeout. A timeout will cause the announce phase to abort if a response from the resolver node is not received within the specified amount of milliseconds.
 
virtual void announceNode (std::string &node_name, std::string &xpub_sock_addr, std::string &xsub_sock_addr)
 Announce this node to resolver.
 
virtual void notifyShutdown ()
 Notify resolver of this node shutdown.
 
virtual void sendHeartbeat (int64_t *time_usec=nullptr)
 Send a heartbeat to resolver.
 
virtual void notifyTopic (std::string topic_name, bool reverse, bool active)
 Notify topic publishing/subscription start or end.
 
virtual void notifyService (std::string service_name, bool reverse, bool active)
 Notify service advertising/use start or end.
 
virtual void announceService (std::string name, std::string addr)
 Announce a service name and address.
 
virtual void resolveService (std::string name, std::string &addr)
 Resolve a service name.
 
virtual void getGraph (b0::resolver_msgs::Graph &graph)
 Request the node sockets graph.
 

Detailed Description

The resolver client.

Performs service name resolution.


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