MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / Relay

Method Relay

MonaCore/sources/RelayServer.cpp:31–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29class Relay : public virtual Object {
30public:
31 Relay(const SocketAddress& address1,const SocketAddress& address2,UInt16 timeout):
32 _timeout(timeout*1000),address1(address1),address2(address2),_received(false) {}
33 const SocketAddress& address1;
34 const SocketAddress& address2;
35 bool obsolete() const { return _lastTime.isElapsed(_timeout); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected