public override void ConnectorsAsync(Ice.EndpointSelectionType selType, Ice.IEndpointConnectors cb) { try { _configuration.CheckConnectorsException(); _endpoint.ConnectorsAsync(selType, new ConnectorsCallback(cb)); } catch (System.Exception ex) { cb.Exception(ex); } }
public override void ConnectorsAsync(Ice.EndpointSelectionType endpointSelection, Ice.IEndpointConnectors callback) { string host = ""; for (Ice.Endpoint? p = _delegate; p != null; p = p.Underlying) { if (p is Ice.IPEndpoint ipEndpoint) { host = ipEndpoint.Host; break; } } _delegate.ConnectorsAsync(endpointSelection, new EndpointI_connectorsI(_instance, host, callback)); }
internal ConnectorsCallback(Ice.IEndpointConnectors cb) { _callback = cb; }
internal EndpointI_connectorsI(Instance instance, string host, Ice.IEndpointConnectors cb) { _instance = instance; _host = host; _callback = cb; }