internal void Register(EndPoint endpoint, TestTransport testTransport) { nodes.TryAdd(endpoint, testTransport); }
public bool TryGetTransport(IPEndPoint destination, out TestTransport transport) { return(nodes.TryGetValue(destination, out transport)); }