libmoost
/home/mhx/git/github/libmoost/src/mq/error_category.h
Go to the documentation of this file.
00001 /* vim:set ts=3 sw=3 sts=3 et: */
00028 #ifndef MOOST_MQ_ERROR_CATEGORY_H_
00029 #define MOOST_MQ_ERROR_CATEGORY_H_
00030 
00031 #include <string>
00032 
00033 #include "../../include/moost/mq/error.h"
00034 
00035 namespace moost { namespace mq {
00036 
00037 class stomp_client_error_category : public boost::system::error_category
00038 {
00039 public:
00040    stomp_client_error_category();
00041 
00042    virtual const char *name() const;
00043    virtual std::string message(int ev) const;
00044    virtual boost::system::error_condition default_error_condition(int ev) const;
00045 };
00046 
00047 }}
00048 
00049 #endif