blob: 94e60ecc5a3b6d099facf9f72f62c3e439610e63 [file] [log] [blame]
Jeff Thompsonfcf347d2013-07-15 11:30:44 -07001/**
2 * @author: Jeff Thompson
3 * See COPYING for copyright and distribution information.
4 */
5
6#ifndef NDN_TRANSPORT_HPP
7#define NDN_TRANSPORT_HPP
8
9namespace ndn {
Jeff Thompson0cb7aee2013-07-16 16:18:06 -070010
11class NDN;
Jeff Thompsonfcf347d2013-07-15 11:30:44 -070012class Transport {
13public:
Jeff Thompson0cb7aee2013-07-16 16:18:06 -070014 virtual void connect(NDN &ndn);
Jeff Thompsonfcf347d2013-07-15 11:30:44 -070015
16 virtual void send(unsigned char *data, unsigned int dataLength);
Jeff Thompsonfcf347d2013-07-15 11:30:44 -070017};
18
19}
20
21#endif