MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / SetLinker

Method SetLinker

src/network/linkers_socket.cpp:134–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134void Linkers::SetLinker(int rank, const TcpSocket& socket) {
135 linkers_[rank].reset(new TcpSocket(socket));
136 // set timeout
137 linkers_[rank]->SetTimeout(socket_timeout_ * 1000 * 60);
138}
139
140void Linkers::ListenThread(int incoming_cnt) {
141 Log::Info("Listening...");

Callers

nothing calls this directly

Calls 2

resetMethod · 0.80
SetTimeoutMethod · 0.45

Tested by

no test coverage detected