/// <summary> /// Ripristino dei servizi di pubblicazione /// </summary> private void RestartUnexpectedStoppedChannels() { if (PublisherEnabled) { PublisherServiceControl.RestartUnexpectedStoppedChannels(); } }
public void RestartUnexpectedStoppedChannels() { try { PublisherServiceControl.RestartUnexpectedStoppedChannels(); } catch (Exception ex) { throw DocsPaUtils.Exceptions.SoapExceptionFactory.Create(ex); } }
public void ReStartChannelById(int channelId) { try { PublisherServiceControl.ReStartChannel(channelId); } catch (Exception ex) { throw DocsPaUtils.Exceptions.SoapExceptionFactory.Create(ex); } }
public void StartChannel(ChannelRefInfo channelRef) { try { PublisherServiceControl.StartChannel(channelRef); } catch (Exception ex) { throw DocsPaUtils.Exceptions.SoapExceptionFactory.Create(ex); } }
public ChannelRefInfo SaveChannel(ChannelRefInfo channelRef) { try { channelRef = DataAccess.PublisherDataAdapter.SaveChannel(channelRef); PublisherServiceControl.RefreshChannelState(channelRef); return(channelRef); } catch (Exception ex) { throw DocsPaUtils.Exceptions.SoapExceptionFactory.Create(ex); } }
public ChannelRefInfo GetChannel(int idChannel) { try { ChannelRefInfo channel = DataAccess.PublisherDataAdapter.GetChannel(idChannel); PublisherServiceControl.RefreshChannelState(channel); return(channel); } catch (Exception ex) { throw DocsPaUtils.Exceptions.SoapExceptionFactory.Create(ex); } }
public ChannelRefInfo[] GetChannelList() { try { ChannelRefInfo[] list = DataAccess.PublisherDataAdapter.GetChannelList(); foreach (ChannelRefInfo channel in list) { PublisherServiceControl.RefreshChannelState(channel); } return(list); } catch (Exception ex) { throw DocsPaUtils.Exceptions.SoapExceptionFactory.Create(ex); } }