Exemple #1
0
 public void Deregister(IEncodableEndpoint endpoint)
 {
     InprocData.RemoveEndpoint(this.Identifier, endpoint.Encode());
 }
Exemple #2
0
        public override Task <TEndpoint> Discover(int timeout = 0)
        {
            var encodedEndpoint = InprocData.GetEndpoint(this.Identifier);

            return(Task.FromResult(this.EndpointDecoder.Decode(encodedEndpoint)));
        }
Exemple #3
0
 public override async Task Register(IEncodableEndpoint endpoint)
 {
     InprocData.AddEndpoint(this.Identifier, endpoint.Encode());
 }