Siena Fast Forwarding Documentation (v. 2.0.1)
fwdtable.h
1 // -*- C++ -*-
2 //
3 // This file is part of Siena, a wide-area event notification system.
4 // See http://www.inf.usi.ch/carzaniga/siena/
5 //
6 // Authors: Antonio Carzaniga
7 // See the file AUTHORS for full details.
8 //
9 // Copyright (C) 2001-2003 University of Colorado
10 // Copyright (C) 2013 Antonio Carzaniga
11 //
12 // Siena is free software: you can redistribute it and/or modify
13 // it under the terms of the GNU General Public License as published by
14 // the Free Software Foundation, either version 3 of the License, or
15 // (at your option) any later version.
16 //
17 // Siena is distributed in the hope that it will be useful,
18 // but WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 // GNU General Public License for more details.
21 //
22 // You should have received a copy of the GNU General Public License
23 // along with Siena. If not, see <http://www.gnu.org/licenses/>.
24 //
25 #ifndef SIENA_FWDTABLE_H_INCLUDED
26 #define SIENA_FWDTABLE_H_INCLUDED
27 
28 #include <siena/forwarding.h>
29 
30 namespace siena {
31 
55 class FwdTable : public AttributesFIB {
56 public:
60  virtual void set_preprocess_rounds(unsigned int) = 0;
61 
64  virtual unsigned int get_preprocess_rounds() const = 0;
65 
68  static FwdTable * create();
69 };
70 
71 } // end namespace siena
72 
73 #endif