2 * Copyright 2015, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
5 #ifndef _PROXY_SECURE_SOCKET_H
6 #define _PROXY_SECURE_SOCKET_H
9 #include <SecureSocket.h>
12 class BProxySecureSocket
: public BSecureSocket
{
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
);
27 const BNetworkAddress fProxyAddress
;
31 #endif // _PROXY_SECURE_SOCKET_H