public static ServerMain getInstance() { if (instance == null) { instance = new ServerMain(); } return(instance); }
public void SetCommonSetting(CommonSettingsVO CommonSetting) { this.CommonSetting = CommonSetting; ServerConsole = ServerMain.getInstance(); ServerConsole.certPassword = CommonSetting.certPassword; ServerConsole.certPath = CommonSetting.certPath; ServerConsole.MessageCredentialType = CommonSetting.MessageCredentialType; ServerConsole.UseMirrorAlram = CommonSetting.UseMirrorAlram; ServerConsole.SetSecurityToken(CommonSetting.SecurityTokenSeed); }
public static ServerMain getInstance() { if (instance == null) { instance = new ServerMain(); } return instance; }