Browse Source

Cancel added

pull/118/head
orignal 10 years ago
parent
commit
8b05455545
  1. 1
      Streaming.h

1
Streaming.h

@ -102,6 +102,7 @@ namespace stream @@ -102,6 +102,7 @@ namespace stream
void AsyncReceive (const Buffer& buffer, ReceiveHandler handler, int timeout = 0);
void Close ();
void Cancel () { m_ReceiveTimer.cancel (); };
size_t GetNumSentBytes () const { return m_NumSentBytes; };
size_t GetNumReceivedBytes () const { return m_NumReceivedBytes; };

Loading…
Cancel
Save