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

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