#ifndef _AMQP_ServerProxy_
#define _AMQP_ServerProxy_
#include "AMQP_ServerOperations.h"
#include "qpid/framing/FieldTable.h"
#include "qpid/framing/OutputHandler.h"
namespace qpid {
namespace framing {
class AMQP_ServerProxy : virtual public AMQP_ServerOperations
{
OutputHandler* out;
public:
AMQP_ServerProxy(OutputHandler* _out);
virtual ~AMQP_ServerProxy() {}
/**
===== Class: =====
*/
class : virtual public AMQP_ServerOperations::Handler
{
OutputHandler* out;
public:
/* Constructors and destructors */
(OutputHandler* _out);
virtual ~();
/* Protocol methods */
/**
----- Method: . -----
*/
/**
Rule "":
*/
virtual void
( u_int16_t channel,
,
);
}; /* class */
}; /* class AMQP_ServerProxy */
} /* namespace framing */
} /* namespace qpid */
#endif
#include "AMQP_ServerProxy.h"
namespace qpid {
namespace framing {
AMQP_ServerProxy::AMQP_ServerProxy(OutputHandler* _out) :
out(_out)
{
}
/* ++++++++++ Class: ++++++++++ */
AMQP_ServerProxy::::(OutputHandler* _out) :
out(_out)
{
}
AMQP_ServerProxy::::~() {}
void AMQP_ServerProxy::::
( u_int16_t channel
,
,
)
{
out->send( new AMQFrame( channel,
new (
,
) ) );
}
} /* namespace framing */
} /* namespace qpid */