mailbox_status.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00027 #ifndef ASTXX_MANAGER_ACTION_MAILBOX_STATUS_H
00028 #define ASTXX_MANAGER_ACTION_MAILBOX_STATUS_H
00029
00030 #include <astxx/manager/basic_action.h>
00031 #include <astxx/manager/message.h>
00032 #include <string>
00033
00034 namespace astxx {
00035 namespace manager {
00036 namespace action {
00037
00039 class mailbox_status : public basic_action {
00040 public:
00044 mailbox_status(const std::string& mailbox)
00045 : mailbox(mailbox) {
00046 }
00047
00048 message::action action() const {
00049 message::action action("MailboxStatus");
00050 action["Mailbox"] = mailbox;
00051
00052 return action;
00053 }
00054
00055 private:
00056 std::string mailbox;
00057 };
00058 }
00059 }
00060 }
00061
00062 #endif