Hazelcast C++ Client
HazelcastClient.h
1 /*
2  * Copyright (c) 2008-2017, Hazelcast, Inc. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #ifndef HAZELCAST_CLIENT_MIXEDTYPE_HAZELCASTCLIENT_H_
17 #define HAZELCAST_CLIENT_MIXEDTYPE_HAZELCASTCLIENT_H_
18 
19 #include <vector>
20 #include <string>
21 
22 #include "hazelcast/util/HazelcastDll.h"
23 #include "hazelcast/client/mixedtype/IMap.h"
24 #include "hazelcast/client/mixedtype/MultiMap.h"
25 #include "hazelcast/client/mixedtype/IQueue.h"
26 #include "hazelcast/client/mixedtype/ISet.h"
27 #include "hazelcast/client/mixedtype/IList.h"
28 #include "hazelcast/client/mixedtype/ITopic.h"
29 #include "hazelcast/client/mixedtype/Ringbuffer.h"
30 
31 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
32 #pragma warning(push)
33 #pragma warning(disable: 4251) //for dll export
34 #endif
35 
36 namespace hazelcast {
37  namespace client {
38  namespace mixedtype {
39  class HAZELCAST_API HazelcastClient {
40  public:
41  virtual ~HazelcastClient() {}
42 
50  virtual IMap getMap(const std::string &name) = 0;
51 
58  virtual MultiMap getMultiMap(const std::string &name) = 0;
59 
66  virtual IQueue getQueue(const std::string &name) = 0;
67 
75  virtual ISet getSet(const std::string &name) = 0;
76 
84  virtual IList getList(const std::string &name) = 0;
85 
92  virtual ITopic getTopic(const std::string& name) = 0;
93 
100  virtual Ringbuffer getRingbuffer(const std::string &instanceName) = 0;
101  };
102  }
103  }
104 }
105 
106 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
107 #pragma warning(pop)
108 #endif
109 
110 #endif /* HAZELCAST_CLIENT_MIXEDTYPE_HAZELCASTCLIENT_H_ */
111 
Definition: HazelcastClient.h:39
Concurrent, distributed client implementation of std::unordered_set.
Definition: ISet.h:36
Hazelcast provides distribution mechanism for publishing messages that are delivered to multiple subs...
Definition: ITopic.h:49
Concurrent, distributed , client implementation of std::list.
Definition: IList.h:38
A specialized distributed map client whose keys can be associated with multiple values.
Definition: MultiMap.h:36
Concurrent, blocking, distributed, observable, client queue.
Definition: IQueue.h:35
Concurrent, distributed, observable and queryable map client.
Definition: IMap.h:47
Definition: MapEntryView.h:32
A Ringbuffer is a data-structure where the content is stored in a ring like structure.
Definition: Ringbuffer.h:60