Example #1
0
 public List <HostState> startStopHost(int id, bool start)
 {
     CurrentContext.Validate();
     HostState.StartStopHost(id, start);
     return(HostState.EnumUsed());
 }
Example #2
0
 public List <HostState> OnlineHost(int id)
 {
     CurrentContext.Validate();
     HostState.OnlineHost(id);
     return(HostState.EnumUsed());
 }
Example #3
0
 public List <HostState> getHosts()
 {
     CurrentContext.Validate();
     return(HostState.EnumUsed());
 }