-/* $Id: package.hpp,v 1.14 2006-01-11 11:51:50 adam Exp $
- Copyright (c) 2005, Index Data.
+/* $Id: package.hpp,v 1.18 2006-06-19 23:54:02 adam Exp $
+ Copyright (c) 2005-2006, Index Data.
-%LICENSE%
+ See the LICENSE file for details
*/
#ifndef YP2_PACKAGE_HPP
#include <iostream>
#include <stdexcept>
-#include <yaz++/gdu.h>
+#include <yazpp/gdu.h>
#include "router.hpp"
#include "filter.hpp"
#include "session.hpp"
-namespace yp2 {
+namespace metaproxy_1 {
class Origin {
enum origin_t {
~Package();
- Package(yp2::Session &session, yp2::Origin &origin);
+ Package(metaproxy_1::Session &session, const
+ metaproxy_1::Origin &origin);
Package & copy_filter(const Package &p);
void move(std::string route);
/// access session - left val in assignment
- yp2::Session & session();
+ metaproxy_1::Session & session();
/// get function - right val in assignment
int data() const;