Red Hat Data Grid HotRod C++ Client  7.2.0
JBasicEventMarshaller.h
Go to the documentation of this file.
1 /*
2  * JBasicEventMarshaller.h
3  *
4  * Created on: Aug 2, 2016
5  * Author: rigazilla
6  */
7 
8 #ifndef INCLUDE_INFINISPAN_HOTROD_JBASICEVENTMARSHALLER_H_
9 #define INCLUDE_INFINISPAN_HOTROD_JBASICEVENTMARSHALLER_H_
10 
13 #include <vector>
14 #include <string>
15 namespace infinispan {
16 namespace hotrod {
17 namespace event {
18 
19 class HR_EXPORT JBasicEventMarshaller: public EventMarshaller {
20 public:
21  JBasicEventMarshaller();
22  virtual ~JBasicEventMarshaller();
23 
24  virtual void unmarshall(std::vector<char>&, std::string&);
25  virtual void unmarshall(std::vector<char>&, int&);
26 
27  virtual std::vector<char> marshall(std::string);
28  virtual std::vector<char> marshall(int);
29 
30 };
31 
32 } /* namespace event */
33 } /* namespace hotrod */
34 } /* namespace infinispan */
35 
36 #endif /* INCLUDE_INFINISPAN_HOTROD_JBASICEVENTMARSHALLER_H_ */
#define HR_EXPORT
Definition: ImportExport.h:26
Definition: AuthenticationConfiguration.h:10