Пример #1
0
 public static ServerMain getInstance()
 {
     if (instance == null)
     {
         instance = new ServerMain();
     }
     return(instance);
 }
Пример #2
0
 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);
 }
Пример #3
0
 public static ServerMain getInstance()
 {
     if (instance == null)
     {
         instance = new ServerMain();
     }
     return instance;
 }