16 #ifndef HAZELCAST_CLIENT_INTERNAL_SOCKET_SOCKETFACTORY_H_
17 #define HAZELCAST_CLIENT_INTERNAL_SOCKET_SOCKETFACTORY_H_
21 #include "hazelcast/util/HazelcastDll.h"
23 #ifdef HZ_BUILD_WITH_SSL
25 #include <asio/ssl.hpp>
26 #endif // HZ_BUILD_WITH_SSL
28 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
30 #pragma warning(disable: 4251) //for dll export
49 std::auto_ptr<Socket> create(
const Address &address)
const;
51 spi::ClientContext &clientContext;
53 #ifdef HZ_BUILD_WITH_SSL
54 std::auto_ptr<asio::io_service> ioService;
55 std::auto_ptr<asio::ssl::context> sslContext;
63 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
IP Address.
Definition: Address.h:36
Definition: MapEntryView.h:32
Definition: SocketFactory.h:43