MCPcopy Create free account
hub / github.com/Panzerschrek/Chasm-Reverse / GetNewConnection

Method GetNewConnection

PanzerChasm/loopback_buffer.cpp:215–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215IConnectionPtr LoopbackBuffer::GetNewConnection()
216{
217 if( state_ == State::WaitingForConnection )
218 {
219 state_= State::Connected;
220 return server_side_connection_;
221 }
222
223 return nullptr;
224}
225
226} // namespace PanzerChasm

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected