commit | 52afb3fbf4db68fabf481431df3befad86256a77 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Fri Mar 07 09:05:35 2014 +0000 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Sun Mar 09 09:31:03 2014 +0000 |
tree | e7a5056f202d41698aa666487f315a2dd9003a3f | |
parent | 83cdc5b8909a470746804c20ce42c91cf2dbd0cd [diff] [blame] |
face: When there are no more events to process, pausing transport instead of closing it Change-Id: I12ad55c6ef3b6b3fce4a5b3c679eb0c6dc3cfa07 Refs: #1314
diff --git a/src/transport/tcp-transport.hpp b/src/transport/tcp-transport.hpp index b97e2a1..6795580 100644 --- a/src/transport/tcp-transport.hpp +++ b/src/transport/tcp-transport.hpp
@@ -33,6 +33,12 @@ virtual void close(); + virtual void + pause(); + + virtual void + resume(); + virtual void send(const Block& wire);