public SreEnvironmentConfig(SreEnvironment environment, int instanceNumber = 0, bool isService = true) { this.Environment = environment; this.InstanceNumber = instanceNumber; this.IsService = isService; RemoteUrl = "net.tcp://<remoteserver>:<port>/srees"; }
public SreEnvironmentConfig(SreEnvironment environment, string configFileName, int instanceNumber = 0, bool isService = true) { this.Environment = environment; ConfigFileName = configFileName; this.InstanceNumber = instanceNumber; this.IsService = isService; DisplayName = IsService ? "Service " + instanceNumber : "IDE"; RemoteUrl = "net.tcp://<remoteserver>:<port>/srees"; }
public int GetNumberOfInstances(EnvironmentServicePacket packet) { return(SreEnvironment.GetNumberOfInstances()); }