summaryrefslogtreecommitdiff
path: root/orkbasecxx/messages/TapeMsg.h
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2007-02-22 22:43:40 +0000
committerHenri Herscher <henri@oreka.org>2007-02-22 22:43:40 +0000
commit080dc6ecd94142b6dae8ccdc33457e1130bb796e (patch)
tree586ac4a31575cfe4ac5fbf148a9df3514543ab29 /orkbasecxx/messages/TapeMsg.h
parent41cbef5f39e62f2142ae0e1c1e972468d5137bdb (diff)
Tape message now defines its members before common message members so that the message type is always the first member.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@414 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx/messages/TapeMsg.h')
-rw-r--r--orkbasecxx/messages/TapeMsg.h33
1 files changed, 32 insertions, 1 deletions
diff --git a/orkbasecxx/messages/TapeMsg.h b/orkbasecxx/messages/TapeMsg.h
index 481bfd3..09a95d8 100644
--- a/orkbasecxx/messages/TapeMsg.h
+++ b/orkbasecxx/messages/TapeMsg.h
@@ -42,7 +42,7 @@ public:
CStdString GetClassName();
ObjectRef NewInstance();
- inline ObjectRef Process() {return ObjectRef();};
+ ObjectRef Process();
CStdString m_recId;
CStdString m_stage;
@@ -81,5 +81,36 @@ public:
typedef boost::shared_ptr<TapeResponse> TapeResponseRef;
+//class DLL_IMPORT_EXPORT_ORKBASE TapeResponseFwd : public TapeResponse
+//{
+//public:
+// TapeResponseFwd();
+// void Define(Serializer* s);
+//
+// ObjectRef NewInstance();
+//
+// bool m_boolean2;
+//};
+
+
+class DLL_IMPORT_EXPORT_ORKBASE TapeTagMsg : public SyncMessage
+{
+public:
+ TapeTagMsg();
+
+ void Define(Serializer* s);
+ void Validate();
+
+ CStdString GetClassName();
+ ObjectRef NewInstance();
+ inline ObjectRef Process() {return ObjectRef();};
+
+ CStdString m_orkUid;
+ time_t m_timestamp;
+ CStdString m_key;
+ CStdString m_value;
+};
+typedef boost::shared_ptr<TapeTagMsg> TapeTagMsgRef;
+
#endif