activemq::connector::stomp::marshal::Marshaler Class Reference

#include <Marshaler.h>

List of all members.

Public Member Functions

 Marshaler (void)
virtual ~Marshaler (void)
virtual transport::Commandmarshal (StompFrame *frame) throw ( MarshalException )
virtual const StompFramemarshal (const transport::Command *command) throw ( MarshalException )


Detailed Description

Interface for all marshallers between Commands and stomp frames.


Constructor & Destructor Documentation

activemq::connector::stomp::marshal::Marshaler::Marshaler void   )  [inline]
 

virtual activemq::connector::stomp::marshal::Marshaler::~Marshaler void   )  [inline, virtual]
 


Member Function Documentation

const StompFrame & Marshaler::marshal const transport::Command command  )  throw ( MarshalException ) [virtual]
 

Marshal a Stomp Command to a Stom Frame, if the command that is past is not castable to a Stomp Command an Exception will be thrown

Parameters:
command The Stomp Command to Marshal
Returns:
newly Marshaled Stomp Frame
Exceptions:
MarshalException 

transport::Command * Marshaler::marshal StompFrame frame  )  throw ( MarshalException ) [virtual]
 

Marshall a Stomp Frame to a Stomp Command, the frame is now owned by this Command, caller should not use the frame again.

Parameters:
frame Frame to Marshall
Returns:
Newly Marshaled Stomp Message
Exceptions:
MarshalException 


The documentation for this class was generated from the following files:
Generated on Thu Aug 3 18:03:32 2006 for activemq-cpp by  doxygen 1.4.5