#include "qpid/framing/amqp_framing.h"
#include "qpid/framing/amqp_types.h"
#include "AMQP_ServerOperations.h"
#include "qpid/framing/AMQMethodBody.h"
#include "qpid/framing/Buffer.h"
#include "qpid/framing/FieldTable.h"
#ifndef __
#define __
namespace qpid {
namespace framing {
}
}
#endif
/**
* This class is autogenerated, do not modify. [From ]
*/
class : virtual public AMQMethodBody
{
;
public:
typedef boost::shared_ptr<> shared_ptr;
virtual ~() {}
inline ; }
inline void print(std::ostream& out) const{
out << ""
<< ",
="<<
;
}
inline u_int16_t amqpClassId() const {
return ;
}
inline u_int16_t amqpMethodId() const {
return ;
}
inline u_int32_t bodySize() const {
return
+
;
return 0;
}
inline void invoke(AMQP_ServerOperations& target, u_int16_t channel) {
);
;
}
inline void encodeContent(Buffer& buffer) const
{
u_int8_t flags = 0;
;
;
buffer.putOctet(flags);
}
inline void decodeContent(Buffer& buffer)
{
u_int8_t flags = buffer.getOctet();
;
;
}
inline () :
{
}
inline ()
{
}
};
/**
* This file is autogenerated, do not modify.
*/
#ifndef AMQ_METHODS_H
#define AMQ_METHODS_H
#include ".h"
namespace qpid {
namespace framing {
const ;
AMQMethodBody* createAMQMethodBody(u_int16_t classId, u_int16_t methodId);
}
}
#endif
#include "amqp_methods.h"
#include "qpid/QpidError.h"
namespace qpid {
namespace framing {
/**
* This method is autogenerated, do not modify.
*/
AMQMethodBody* createAMQMethodBody(u_int16_t classId, u_int16_t methodId){
switch(classId * 1000 + methodId)
{
case
* 1000 +
: return new
();
}
THROW_QPID_ERROR(FRAMING_ERROR, "Unknown method");
}
}
}
#include "qpid/framing/amqp_types.h"
#include "qpid/framing/FieldTable.h"
#ifndef _AMQPServer_
#define _AMQPServer_
namespace qpid {
namespace framing {
class AMQPServer
{
public:
class {
public:
virtual void (u_int16_t channel, ) = 0;
virtual void (u_int16_t channel) = 0;
virtual ~(){}
};
virtual () = 0;
virtual ~AMQPServer(){}
};
}
}
#endif
#include "qpid/framing/amqp_types.h"
#include "qpid/framing/FieldTable.h"
#ifndef _AMQPClient_
#define _AMQPClient_
namespace qpid {
namespace framing {
class AMQPClient
{
public:
class {
public:
virtual void (u_int16_t channel, ) = 0;
virtual void (u_int16_t channel) = 0;
virtual ~(){}
};
virtual () = 0;
virtual ~AMQPClient(){}
};
}
}
#endif