public override bool Equivalent(ZeroC.Ice.Endpoint endpoint) { if (endpoint is Endpoint testEndpoint) { return(testEndpoint._endpoint.Equivalent(_endpoint)); } else { return(false); } }
public override ZeroC.Ice.Endpoint NewConnectionId(string connectionId) { ZeroC.Ice.Endpoint endpoint = _endpoint.NewConnectionId(connectionId); if (endpoint == _endpoint) { return(this); } else { return(new Endpoint(endpoint)); } }
public override ZeroC.Ice.Endpoint NewCompressionFlag(bool compressionFlag) { ZeroC.Ice.Endpoint endpoint = _endpoint.NewCompressionFlag(compressionFlag); if (endpoint == _endpoint) { return(this); } else { return(new Endpoint(endpoint)); } }
internal Endpoint GetEndpoint(ZeroC.Ice.Endpoint del) => del == _endpoint ? this : new Endpoint(del);
internal Endpoint(ZeroC.Ice.Endpoint endpoint) { _endpoint = endpoint; _configuration = Configuration.GetInstance(); }
internal bool IsLocal(Endpoint endpoint) => endpoint.IsLocal(Endpoint);