/* This file is part of Metaproxy.
- Copyright (C) 2005-2010 Index Data
+ Copyright (C) 2005-2011 Index Data
Metaproxy is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
namespace std
{
- std::ostream& operator<<(std::ostream& os, metaproxy_1::Package& p);
+ std::ostream& operator<<(std::ostream& os, const metaproxy_1::Package& p);
}
namespace metaproxy_1 {
/// get function - right val in assignment
Origin origin() const;
-
+
/// set function - left val in assignment
Origin & origin();
/// set function - can be chained
- Package & origin(const Origin & origin);
-
- /// set function - can be chained
Package & router(const Router &router);
yazpp_1::GDU &request();
/// get function - right val in assignment
Session session() const;
-
+
+ void log(const char *module, int level, const char *fmt, ...) const;
private:
Session m_session;
Origin m_origin;