Restore the "GPL licensing not permitted" in GLUT license headers.
[haiku.git] / headers / os / net / ProxySecureSocket.h
blob42b445e5ff441ebb0756e070cc98698b796567e7
1 /*
2 * Copyright 2015, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _PROXY_SECURE_SOCKET_H
6 #define _PROXY_SECURE_SOCKET_H
9 #include <SecureSocket.h>
12 class BProxySecureSocket : public BSecureSocket {
13 public:
14 BProxySecureSocket(const BNetworkAddress& proxy);
15 BProxySecureSocket(const BNetworkAddress& proxy,
16 const BNetworkAddress& peer,
17 bigtime_t timeout = B_INFINITE_TIMEOUT);
18 BProxySecureSocket(const BProxySecureSocket& other);
19 virtual ~BProxySecureSocket();
21 // BSocket implementation
23 virtual status_t Connect(const BNetworkAddress& peer,
24 bigtime_t timeout = B_INFINITE_TIMEOUT);
26 private:
27 const BNetworkAddress fProxyAddress;
31 #endif // _PROXY_SECURE_SOCKET_H