1#ifndef PROTON_LISTENER_HPP
2#define PROTON_LISTENER_HPP
23#include "./internal/export.hpp"
68 PN_CPP_EXTERN
void user_data(
void* user_data)
const;
74 pn_listener_t* listener_;
A top-level container of connections, sessions, and links.
Definition container.hpp:50
A listener for incoming connections.
Definition listener.hpp:33
int port()
Unsettedled API
void * user_data() const
Get user data from this listener.
listener(const listener &)
Copy a listener.
listener()
Create an empty listener.
void stop()
Stop listening on the address provided to the call to container::listen that returned this listener.
void user_data(void *user_data) const
Set user data on this listener.
class container & container() const
Unsettedled API
listener & operator=(const listener &)
Copy a listener.
The main Proton namespace.
Definition annotation_key.hpp:33