commit | ab13ac74cae770bcdf3dc4bf9d8ebd8f998bf6b2 | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Thu Aug 01 10:37:21 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Thu Aug 01 10:37:21 2013 -0700 |
tree | ef22f08fcad2108f207734602a9acf2ffaeea99e | |
parent | 3f2175bc2058fa8eb9002005e85298bea80d5415 [diff] |
Added NDN.getTransport
diff --git a/ndn-cpp/NDN.hpp b/ndn-cpp/NDN.hpp index 025ece8..2abb8f2 100644 --- a/ndn-cpp/NDN.hpp +++ b/ndn-cpp/NDN.hpp
@@ -52,6 +52,8 @@ unsigned short getPort() const { return port_; } + ptr_lib::shared_ptr<Transport> &getTransport() { return transport_; } + virtual void onReceivedElement(unsigned char *element, unsigned int elementLength); private: