| /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ |
| * Copyright (c) 2013, Regents of the University of California |
| * BSD license, See the LICENSE file for more information |
| * Author: Qiuhan Ding <qiuhanding@cs.ucla.edu> |
| #ifndef CHRONOCHAT_CONFIG_HPP |
| #define CHRONOCHAT_CONFIG_HPP |
| #include <ndn-cxx/util/concepts.hpp> |
| #include <ndn-cxx/encoding/block.hpp> |
| #include <ndn-cxx/encoding/encoding-buffer.hpp> |
| class Error : public std::runtime_error |
| Error(const std::string& what) |
| : std::runtime_error(what) |
| Conf(const Block& confWire); |
| wireDecode(const Block& confWire); |
| setIdentity(const Name& identity); |
| setNick(const std::string& nick); |
| wireEncode(ndn::EncodingImpl<T>& block) const; |
| Conf::getIdentity() const |
| inline const std::string& |
| } // namespace chronochat |
| #endif //CHRONOCHAT_CONF_HPP |