MCPcopy Create free account
hub / github.com/apache/thrift / TSocket

Method TSocket

lib/cpp/src/thrift/transport/TSocket.cpp:91–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89 */
90
91TSocket::TSocket(const string& host, int port, std::shared_ptr<TConfiguration> config)
92 : TVirtualTransport(config),
93 host_(host),
94 port_(port),
95 socket_(THRIFT_INVALID_SOCKET),
96 peerPort_(0),
97 connTimeout_(0),
98 sendTimeout_(0),
99 recvTimeout_(0),
100 keepAlive_(false),
101 lingerOn_(1),
102 lingerVal_(0),
103 noDelay_(1),
104 maxRecvRetries_(5) {
105}
106
107TSocket::TSocket(const string& path, std::shared_ptr<TConfiguration> config)
108 : TVirtualTransport(config),

Callers 7

fb303_wrapperFunction · 0.45
mainFunction · 0.45
start_clientMethod · 0.45
acceptMethod · 0.45
testConnectTimeoutMethod · 0.45
testWriteTimeoutMethod · 0.45
setUpMethod · 0.45

Calls

no outgoing calls

Tested by 3

testConnectTimeoutMethod · 0.36
testWriteTimeoutMethod · 0.36
setUpMethod · 0.36