+/* $Id: test_filter_frontend_net.cpp,v 1.8 2005-10-16 16:05:44 adam Exp $
+ Copyright (c) 2005, Index Data.
+
+%LICENSE%
+ */
#include "config.hpp"
#include <iostream>
using namespace boost::unit_test;
-class FilterInit: public yp2::Filter {
+class FilterInit: public yp2::filter::Base {
public:
void process(yp2::Package & package) const {
-
+
if (package.session().is_closed())
{
// std::cout << "Got Close.\n";
try
{
{
- yp2::FilterFrontendNet nf;
+ yp2::filter::FrontendNet nf;
}
}
catch ( ... ) {
yp2::RouterChain router;
// put in frontend first
- yp2::FilterFrontendNet filter_front;
+ yp2::filter::FrontendNet filter_front;
std::vector <std::string> ports;
ports.insert(ports.begin(), "unix:socket");
* Local variables:
* c-basic-offset: 4
* indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
*/