summaryrefslogtreecommitdiff
path: root/common/message.h
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-11-15 11:20:08 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-11-15 11:20:08 +0100
commit67b0b2494aa2f6d03b8fde92bf0309fffcbb6de6 (patch)
tree59c64769e97534af495b1ca16ab145fc950da2ef /common/message.h
parente7fbda45b408b369daf75307ccc6f20bef11dcce (diff)
Added Message::Ready.
Diffstat (limited to 'common/message.h')
-rw-r--r--common/message.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/message.h b/common/message.h
index 3587229..b2d3078 100644
--- a/common/message.h
+++ b/common/message.h
@@ -90,6 +90,16 @@ namespace Message {
virtual void deserialize(uint8_t* data, std::size_t bytes);
};
+ class Ready : public Base {
+ public:
+ typedef boost::shared_ptr<Ready> p;
+
+ Ready();
+
+ virtual std::pair<uint8_t*, std::size_t> serialize();
+ virtual void deserialize(uint8_t* data, std::size_t bytes);
+ };
+
typedef boost::shared_ptr<Base> p;
};