22 #ifndef Tools_Lib_Notifier_h
23 #define Tools_Lib_Notifier_h
81 #endif // Tools_Lib_Notifier_h
static Comm * instance()
Creates/returns singleton instance of the Comm class.
Declarations for CommAddress.
int send_datagram(const CommAddress &addr, const CommAddress &send_addr, CommBufPtr &cbuf)
Sends a datagram to a remote address.
const char * get_text(int error)
Returns a descriptive error message.
Encapsulate an internet address.
std::shared_ptr< Notifier > NotifierPtr
std::shared_ptr< CommBuf > CommBufPtr
Smart pointer to CommBuf.
static bool initialize(sockaddr_in *addr, const char *host, uint16_t port)
Initialize a sockaddr_in structure from host:port.
Entry point to AsyncComm service.
Declarations for CommBuf.
Internet address wrapper classes and utility functions.
void create_datagram_receive_socket(CommAddress &addr, int tos, const DispatchHandlerPtr &handler)
Creates a socket for receiving datagrams and attaches handler as the default dispatch handler...
std::shared_ptr< DispatchHandler > DispatchHandlerPtr
Smart pointer to DispatchHandler.
Message buffer for holding data to be transmitted over a network.
#define HT_ERRORF(msg,...)
Notifier(const char *addr_str)
Error codes, Exception handling, error logging.
Address abstraction to hold either proxy name or IPv4:port address.