blob: 056b78951275a7243a89444e45d7669638856548 [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"
Jeff Thompsonfa181ac2013-08-02 19:00:51 -07008#include "BinaryXMLWireFormat.hpp"
Jeff Thompson9c41dfe2013-06-27 12:10:25 -07009
10using namespace std;
11
12namespace ndn {
Jeff Thompsonfa181ac2013-08-02 19:00:51 -070013
14ptr_lib::shared_ptr<WireFormat> WireFormat::initialDefaultWireFormat_(newInitialDefaultWireFormat());
15
16WireFormat *WireFormat::defaultWireFormat_ = initialDefaultWireFormat_.get();
17
Jeff Thompsonb0979fd2013-07-30 15:48:21 -070018ptr_lib::shared_ptr<vector<unsigned char> > WireFormat::encodeInterest(const Interest &interest)
Jeff Thompson9c41dfe2013-06-27 12:10:25 -070019{
20 throw logic_error("unimplemented");
21}
Jeff Thompson42380712013-06-28 10:59:33 -070022void WireFormat::decodeInterest(Interest &interest, const unsigned char *input, unsigned int inputLength)
Jeff Thompson9c41dfe2013-06-27 12:10:25 -070023{
24 throw logic_error("unimplemented");
25}
26
Jeff Thompson56ec9e22013-08-02 11:34:07 -070027ptr_lib::shared_ptr<vector<unsigned char> > WireFormat::encodeData(const Data &data)
Jeff Thompson5cae5e52013-07-10 19:41:20 -070028{
29 throw logic_error("unimplemented");
30}
Jeff Thompson56ec9e22013-08-02 11:34:07 -070031void WireFormat::decodeData(Data &data, const unsigned char *input, unsigned int inputLength)
Jeff Thompson5cae5e52013-07-10 19:41:20 -070032{
33 throw logic_error("unimplemented");
34}
35
Jeff Thompson9c41dfe2013-06-27 12:10:25 -070036}