PGM: implement flow control

This commit is contained in:
Martin Hurton
2010-03-02 09:02:40 +01:00
parent 61ee6fae53
commit f9521c6b6a
2 changed files with 55 additions and 4 deletions

View File

@@ -98,6 +98,15 @@ namespace zmq
// Parent session.
i_inout *inout;
// Most recently used decoder.
zmq_decoder_t *mru_decoder;
// Number of bytes not consumed by the decoder due to pipe overflow.
size_t pending_bytes;
// Pointer to data still waiting to be processed by the decoder.
unsigned char *pending_ptr;
// Poll handle associated with PGM socket.
handle_t socket_handle;