Ejemplo n.º 1
0
        private void CheckServerStatus()
        {
            bool up = false;

            try
            {
                EnvironmentServicePacket packet = new EnvironmentServicePacket();
                up = EnvironmentServiceDispatcherUsingWcf.GetWcfClient(SelectedEnvironmentConfig).Ping(packet) == "success" ? true : false;
            }
            catch { }
            if (up)
            {
                Log(".....Alive", true, Color.DarkGreen);
            }
            else
            {
                Log(".....Down", true, Color.DarkRed);
            }

            picServerStatus.Image = up ? Properties.Resources.status_anim : Properties.Resources.disabled;

            if (up)
            {
                cbCommands.Enabled = true;
            }
            else
            {
                cbCommands.Enabled = false;
            }
        }
Ejemplo n.º 2
0
 public string SetServiceLogonUser(EnvironmentServicePacket packet)
 {
     return(base.Channel.SetServiceLogonUser(packet));
 }
Ejemplo n.º 3
0
 public string SetConfigFile(EnvironmentServicePacket packet)
 {
     return(base.Channel.SetConfigFile(packet));
 }
Ejemplo n.º 4
0
 public System.Threading.Tasks.Task <Eyedia.IDPE.Common.FileTransferPacket> GetConfigFileAsync(EnvironmentServicePacket packet)
 {
     return(base.Channel.GetConfigFileAsync(packet));
 }
Ejemplo n.º 5
0
 public Eyedia.IDPE.Common.FileTransferPacket GetConfigFile(EnvironmentServicePacket packet)
 {
     return(base.Channel.GetConfigFile(packet));
 }
Ejemplo n.º 6
0
 public System.Threading.Tasks.Task <Eyedia.IDPE.DataManager.IdpeDataSource[]> GetDataSourcesAsync(EnvironmentServicePacket packet)
 {
     return(base.Channel.GetDataSourcesAsync(packet));
 }
Ejemplo n.º 7
0
 public Eyedia.IDPE.DataManager.IdpeDataSource[] GetDataSources(EnvironmentServicePacket packet)
 {
     return(base.Channel.GetDataSources(packet));
 }
Ejemplo n.º 8
0
 public int GetNumberOfInstances(EnvironmentServicePacket packet)
 {
     return(base.Channel.GetNumberOfInstances(packet));
 }
Ejemplo n.º 9
0
 public string ProcessFile(EnvironmentServicePacket packet)
 {
     return(base.Channel.ProcessFile(packet));
 }
Ejemplo n.º 10
0
 public System.Threading.Tasks.Task <string> DeployArtifactsAsync(EnvironmentServicePacket packet)
 {
     return(base.Channel.DeployArtifactsAsync(packet));
 }
Ejemplo n.º 11
0
 public string DeployArtifacts(EnvironmentServicePacket packet)
 {
     return(base.Channel.DeployArtifacts(packet));
 }
Ejemplo n.º 12
0
 public string DeploySdf(EnvironmentServicePacket packet)
 {
     return(base.Channel.DeploySdf(packet));
 }
Ejemplo n.º 13
0
 public System.Threading.Tasks.Task <string> ExecuteCommandAsync(EnvironmentServicePacket packet)
 {
     return(base.Channel.ExecuteCommandAsync(packet));
 }
Ejemplo n.º 14
0
 public string ExecuteCommand(EnvironmentServicePacket packet)
 {
     return(base.Channel.ExecuteCommand(packet));
 }
Ejemplo n.º 15
0
 public System.Threading.Tasks.Task <int> GetNumberOfInstancesAsync(EnvironmentServicePacket packet)
 {
     return(base.Channel.GetNumberOfInstancesAsync(packet));
 }
Ejemplo n.º 16
0
 public System.Threading.Tasks.Task <string> SetServiceLogonUserAsync(EnvironmentServicePacket packet)
 {
     return(base.Channel.SetServiceLogonUserAsync(packet));
 }
Ejemplo n.º 17
0
 public System.Threading.Tasks.Task <string> ProcessFileAsync(EnvironmentServicePacket packet)
 {
     return(base.Channel.ProcessFileAsync(packet));
 }
Ejemplo n.º 18
0
 public string Ping(EnvironmentServicePacket packet)
 {
     return(base.Channel.Ping(packet));
 }