commit | a18364ac88b035e9433a0238b8fbe75285aa04f3 | [log] [tgz] |
---|---|---|
author | Bryan Duxbury <bryanduxbury@apache.org> | Tue Sep 28 14:36:07 2010 +0000 |
committer | Bryan Duxbury <bryanduxbury@apache.org> | Tue Sep 28 14:36:07 2010 +0000 |
tree | 8e0e14db71433dde1ebd6f34a4fab028431ab535 | |
parent | ca67b899594004966f002a82ff126e0916f133d4 [diff] [blame] |
THRIFT-900. cpp: Unix domain socket This patch adds a new Unix Socket transport. Patch: Roger Meier git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1002179 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/transport/TServerSocket.h b/lib/cpp/src/transport/TServerSocket.h index a6be017..8cd521f 100644 --- a/lib/cpp/src/transport/TServerSocket.h +++ b/lib/cpp/src/transport/TServerSocket.h
@@ -36,6 +36,7 @@ public: TServerSocket(int port); TServerSocket(int port, int sendTimeout, int recvTimeout); + TServerSocket(std::string path); ~TServerSocket(); @@ -58,6 +59,7 @@ private: int port_; + std::string path_; int serverSocket_; int acceptBacklog_; int sendTimeout_;