Infinispan HotRod C++ Client  8.2.1.Final
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
EventMarshaller.h
Go to the documentation of this file.
1 /*
2  * MarshallerHelper.h
3  *
4  * Created on: Aug 2, 2016
5  * Author: rigazilla
6  */
7 
8 #ifndef INCLUDE_INFINISPAN_HOTROD_EVENTMARSHALLER_H_
9 #define INCLUDE_INFINISPAN_HOTROD_EVENTMARSHALLER_H_
10 #include <vector>
11 #include <string>
12 
13 namespace infinispan {
14 namespace hotrod {
15 namespace event {
16 
17 class EventMarshaller
18 {
19 public:
20  virtual void unmarshall(std::vector<char>&, std::string&) = 0;
21  virtual void unmarshall(std::vector<char>&, int&) = 0;
22 
23  virtual std::vector<char> marshall(std::string) = 0;
24  virtual std::vector<char> marshall(int) = 0;
25 
26  virtual ~EventMarshaller() {};
27 };
28 
29 
30 }}}
31 
32 
33 
34 
35 
36 #endif /* INCLUDE_INFINISPAN_HOTROD_EVENTMARSHALLER_H_ */