removed dependency on deprecated encoder_base::has_data() method

This commit is contained in:
bebopagogo
2014-03-19 15:00:03 -04:00
parent 43071bc724
commit 0a97e05439
2 changed files with 74 additions and 49 deletions

View File

@@ -162,11 +162,12 @@ namespace zmq
// Sender state
msg_t tx_msg;
v2_encoder_t zmq_encoder; // for tx messages (we use v2 for now)
NormObjectHandle norm_tx_stream;
bool tx_first_msg;
bool tx_more_bit;
bool zmq_output_ready; // zmq has msg(s) to send
NormObjectHandle norm_tx_stream;
bool norm_tx_ready; // norm has tx queue vacancy
// tbd - maybe don't need buffer if can access encoder buffer directly?
// tbd - maybe don't need buffer if can access zmq message buffer directly?
char tx_buffer[BUFFER_SIZE];
unsigned int tx_index;
unsigned int tx_len;