public bool RegisterEndpoint([NotNull] string address, [NotNull] Endpoint endpoint) { lock (m_endpointsSync) { if (m_endpoints.ContainsKey(address)) return false; m_endpoints[address] = endpoint; return true; } }
protected bool RegisterEndpoint([NotNull] string addr, [NotNull] Ctx.Endpoint endpoint) { return(m_ctx.RegisterEndpoint(addr, endpoint)); }