public ClientNode_Standalone(ClientMachine client) { if (client == null) { throw new Exception("Client Object cannot be null."); } Machine = client; }
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; }
public ClientNode_Cluster ConvertToCluster(ClientMachine primary, ClientMachine secondary) { return(new ClientNode_Cluster(this, primary, secondary)); }