public void Deregister(IEncodableEndpoint endpoint) { InprocData.RemoveEndpoint(this.Identifier, endpoint.Encode()); }
public override Task <TEndpoint> Discover(int timeout = 0) { var encodedEndpoint = InprocData.GetEndpoint(this.Identifier); return(Task.FromResult(this.EndpointDecoder.Decode(encodedEndpoint))); }
public override async Task Register(IEncodableEndpoint endpoint) { InprocData.AddEndpoint(this.Identifier, endpoint.Encode()); }