commit | 5796388f8129beb4fe97d69264203e0c9f72aada | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Mon Aug 05 16:01:25 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Mon Aug 05 16:01:25 2013 -0700 |
tree | 44262f1d7a30b38e1dc5792b81f234cd38b8b08c | |
parent | 5a6b5ab7f961fb77a7112d588b8edc03e60f623e [diff] [blame] |
Added Transport close method
diff --git a/ndn-cpp/transport/Transport.hpp b/ndn-cpp/transport/Transport.hpp index af1a2c0..dedfffd 100644 --- a/ndn-cpp/transport/Transport.hpp +++ b/ndn-cpp/transport/Transport.hpp
@@ -25,6 +25,11 @@ { send(&data[0], data.size()); } + + /** + * Close the connection. This base class implementation does nothing, but your derived class can override. + */ + virtual void close(); }; }