1 #ifndef PROTON_CPP_ACCEPTOR_H
2 #define PROTON_CPP_ACCEPTOR_H
25 #include "proton/reactor.h"
26 #include "proton/export.hpp"
27 #include "proton/object.hpp"
29 struct pn_connection_t;
41 acceptor(pn_acceptor_t* a=0) : object<pn_acceptor_t>(a) {}
45 PN_CPP_EXTERN
void close();
57 #endif // PROTON_CPP_ACCEPTOR_H
A context for accepting inbound connections.
Definition: acceptor.hpp:36
Options for creating a connection.
Definition: connection_options.hpp:60
void close()
Close the acceptor.
class connection_options & connection_options()
Return the current set of connection options applied to inbound connectons by the acceptor...