blob: ba5772f6c610b9355089bfda933b5a227ad42787 [file] [log] [blame]
Jeff Thompson47eecfc2013-07-07 22:56:46 -07001/**
2 * @author: Jeff Thompson
3 * See COPYING for copyright and distribution information.
Jeff Thompson9c41dfe2013-06-27 12:10:25 -07004 */
5
6#include <stdexcept>
7#include "WireFormat.hpp"
8
9using namespace std;
10
11namespace ndn {
Jeff Thompsonfa181ac2013-08-02 19:00:51 -070012
13ptr_lib::shared_ptr<WireFormat> WireFormat::initialDefaultWireFormat_(newInitialDefaultWireFormat());
14
15WireFormat *WireFormat::defaultWireFormat_ = initialDefaultWireFormat_.get();
16
Jeff Thompsonb0979fd2013-07-30 15:48:21 -070017ptr_lib::shared_ptr<vector<unsigned char> > WireFormat::encodeInterest(const Interest &interest)
Jeff Thompson9c41dfe2013-06-27 12:10:25 -070018{
19 throw logic_error("unimplemented");
20}
Jeff Thompson42380712013-06-28 10:59:33 -070021void WireFormat::decodeInterest(Interest &interest, const unsigned char *input, unsigned int inputLength)
Jeff Thompson9c41dfe2013-06-27 12:10:25 -070022{
23 throw logic_error("unimplemented");
24}
25
Jeff Thompson56ec9e22013-08-02 11:34:07 -070026ptr_lib::shared_ptr<vector<unsigned char> > WireFormat::encodeData(const Data &data)
Jeff Thompson5cae5e52013-07-10 19:41:20 -070027{
28 throw logic_error("unimplemented");
29}
Jeff Thompson56ec9e22013-08-02 11:34:07 -070030void WireFormat::decodeData(Data &data, const unsigned char *input, unsigned int inputLength)
Jeff Thompson5cae5e52013-07-10 19:41:20 -070031{
32 throw logic_error("unimplemented");
33}
34
Jeff Thompson9c41dfe2013-06-27 12:10:25 -070035}