summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/TcpTransceiver.h
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2013-04-04 16:02:42 -0700
committerMark Spruiell <mes@zeroc.com>2013-04-04 16:02:42 -0700
commit9cb665138c7d2422739e32b40a249c64fd3b6cd5 (patch)
tree94759d916599ca08761b98580185a230744ac67a /cpp/src/Ice/TcpTransceiver.h
parentx64 VC10 icexml35d.dll was linked to wrong file (diff)
downloadice-9cb665138c7d2422739e32b40a249c64fd3b6cd5.tar.bz2
ice-9cb665138c7d2422739e32b40a249c64fd3b6cd5.tar.xz
ice-9cb665138c7d2422739e32b40a249c64fd3b6cd5.zip
* SOCKS support for C++
* Minor cleanup in C# * Unity fixes
Diffstat (limited to 'cpp/src/Ice/TcpTransceiver.h')
-rw-r--r--cpp/src/Ice/TcpTransceiver.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/cpp/src/Ice/TcpTransceiver.h b/cpp/src/Ice/TcpTransceiver.h
index 3005da1a0e7..a2afe4bb514 100644
--- a/cpp/src/Ice/TcpTransceiver.h
+++ b/cpp/src/Ice/TcpTransceiver.h
@@ -29,6 +29,8 @@ class TcpTransceiver : public Transceiver, public NativeInfo
{
StateNeedConnect,
StateConnectPending,
+ StateProxyConnectRequest,
+ StateProxyConnectRequestPending,
StateConnected
};
@@ -39,7 +41,7 @@ public:
virtual AsyncInfo* getAsyncInfo(SocketOperation);
#endif
- virtual SocketOperation initialize();
+ virtual SocketOperation initialize(Buffer&, Buffer&);
virtual void close();
virtual bool write(Buffer&);
virtual bool read(Buffer&);
@@ -56,21 +58,23 @@ public:
private:
- TcpTransceiver(const InstancePtr&, SOCKET, bool);
+ TcpTransceiver(const InstancePtr&, SOCKET, const NetworkProxyPtr&, const Address&);
+ TcpTransceiver(const InstancePtr&, SOCKET);
virtual ~TcpTransceiver();
- void connect(const Address&);
+ void connect();
friend class TcpConnector;
friend class TcpAcceptor;
+ const NetworkProxyPtr _proxy;
+ const Address _addr;
const TraceLevelsPtr _traceLevels;
const Ice::LoggerPtr _logger;
const Ice::StatsPtr _stats;
State _state;
std::string _desc;
- Address _connectAddr;
#ifdef ICE_USE_IOCP
AsyncInfo _read;