00001 #ifndef QPID_BROKER_SESSIONCONTEXT_H
00002 #define QPID_BROKER_SESSIONCONTEXT_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #include "qpid/framing/FrameHandler.h"
00026 #include "qpid/framing/AMQP_ClientProxy.h"
00027 #include "qpid/framing/amqp_types.h"
00028 #include "qpid/sys/OutputControl.h"
00029 #include "ConnectionState.h"
00030
00031
00032 #include <boost/noncopyable.hpp>
00033
00034 namespace qpid {
00035 namespace broker {
00036
00037 class SessionContext : public sys::OutputControl
00038 {
00039 public:
00040 virtual ~SessionContext(){}
00041 virtual bool isLocal(const ConnectionToken* t) const = 0;
00042 virtual ConnectionState& getConnection() = 0;
00043 virtual framing::AMQP_ClientProxy& getProxy() = 0;
00044 virtual Broker& getBroker() = 0;
00045 };
00046
00047 }}
00048
00049
00050
00051 #endif