private void OnChannelClosed(object sender, EventArgs e) { IMasterServerCallback hCb = sender as IMasterServerCallback; NodeReference hRef = HandleDisconnection(hCb); ChannelFaulted?.Invoke(hRef); }
private void OnChannelFaulted(object sender, EventArgs e) { HandleDisconnection(sender as IBaseService); ChannelFaulted?.Invoke(sender as IBaseService); }