blob: 85fe1b7a8c10ecfba73eb49a4cb6866d91daab77 [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 {
10
11class Transport {
12public:
13 virtual void connect(char *host, unsigned short port);
14
15 virtual void send(unsigned char *data, unsigned int dataLength);
16
17 virtual unsigned int receive(unsigned char *buffer, unsigned int bufferLength);
18};
19
20}
21
22#endif