diff options
author | HanzZ <hanzz.k@gmail.com> | 2012-09-12 05:36:27 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-09-12 18:31:26 (GMT) |
commit | ca8ee84e53e7d4910a7c17cf05e70b0b3377c9c3 (patch) | |
tree | 922f41140933e9a86f7178a5a932ad19162cc3c4 /Swiften/FileTransfer/SOCKS5BytestreamServerSession.h | |
parent | 55a5d78d1e9e5c56173d13345e2b303422389737 (diff) | |
download | swift-contrib-ca8ee84e53e7d4910a7c17cf05e70b0b3377c9c3.zip swift-contrib-ca8ee84e53e7d4910a7c17cf05e70b0b3377c9c3.tar.bz2 |
Add support for pause/resume using Bytestream for SOCKS5BytestreamServerSession.
Copyright (c) 2012 Jan Kaluza
Licensed under the Simplified BSD license.
See Documentation/Licenses/BSD-simplified.txt for more information.
Diffstat (limited to 'Swiften/FileTransfer/SOCKS5BytestreamServerSession.h')
-rw-r--r-- | Swiften/FileTransfer/SOCKS5BytestreamServerSession.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/FileTransfer/SOCKS5BytestreamServerSession.h b/Swiften/FileTransfer/SOCKS5BytestreamServerSession.h index 4557a36..ed77df8 100644 --- a/Swiften/FileTransfer/SOCKS5BytestreamServerSession.h +++ b/Swiften/FileTransfer/SOCKS5BytestreamServerSession.h @@ -54,6 +54,7 @@ namespace Swift { void process(); void handleDataRead(boost::shared_ptr<SafeByteArray>); void handleDisconnected(const boost::optional<Connection::Error>&); + void handleDataAvailable(); void sendData(); private: @@ -64,5 +65,6 @@ namespace Swift { int chunkSize; boost::shared_ptr<ReadBytestream> readBytestream; boost::shared_ptr<WriteBytestream> writeBytestream; + bool waitingForData; }; } |