3 #ifndef __ZMQ_PGM_SENDER_HPP_INCLUDED__
4 #define __ZMQ_PGM_SENDER_HPP_INCLUDED__
6 #if defined ZMQ_HAVE_OPENPGM
21 class pgm_sender_t
ZMQ_FINAL :
public io_object_t,
public i_engine
24 pgm_sender_t (zmq::io_thread_t *parent_,
const options_t &
options_);
27 int init (
bool udp_encapsulation_,
const char *network_);
30 bool has_handshake_stage () {
return false; };
33 bool restart_input ();
34 void restart_output ();
35 void zap_msg_available () {}
36 const endpoint_uri_pair_t &get_endpoint ()
const;
41 void timer_event (
int token);
54 const endpoint_uri_pair_t _empty_endpoint;
60 session_base_t *session;
71 pgm_socket_t pgm_socket;
78 handle_t uplink_handle;
79 handle_t rdata_notify_handle;
80 handle_t pending_notify_handle;
83 unsigned char *out_buffer;
86 size_t out_buffer_size;