Esempio n. 1
0
 public ClientNode_Standalone(ClientMachine client)
 {
     if (client == null)
     {
         throw new Exception("Client Object cannot be null.");
     }
     Machine = client;
 }
Esempio n. 2
0
 public ClientNode_Cluster(ClientMachine vip, ClientMachine pri, ClientMachine sec)
 {
     if ((vip == null) || (pri == null) || (sec == null))
     {
         throw new Exception("Client Objects cannot be null.");
     }
     Machine       = vip;
     NodeVIP       = vip;
     NodePrimary   = pri;
     NodeSecondary = sec;
 }
Esempio n. 3
0
 public ClientNode_Cluster ConvertToCluster(ClientMachine primary, ClientMachine secondary)
 {
     return(new ClientNode_Cluster(this, primary, secondary));
 }