Exemple #1
0
 private SymBotClient(SymConfig config, SymBotAuth symBotAuth)//, ClientConfig podClientConfig, ClientConfig agentClientConfig)
 {
     this.config     = config;
     this.symBotAuth = symBotAuth;
     //this.podClient = ClientBuilder.newClient(podClientConfig);
     //this.agentClient = ClientBuilder.newClient(agentClientConfig);
 }
Exemple #2
0
 public static SymBotClient initBot(SymConfig config, ISymAuth symBotAuth)
 {
     if (botClient == null)
     {
         botClient = new SymBotClient(config, symBotAuth);
         return(botClient);
     }
     return(botClient);
 }
Exemple #3
0
 public static SymBotClient initBot(SymConfig config, ISymAuth symBotAuth)
 {
     ServicePointManager.DefaultConnectionLimit = 10;
     if (botClient == null)
     {
         botClient = new SymBotClient(config, symBotAuth);
         return(botClient);
     }
     return(botClient);
 }
Exemple #4
0
 private SymOBOClient(SymConfig config, ISymAuth symBotAuth)
 {
     this.symBotAuth = symBotAuth;
     this.config     = config;
 }
Exemple #5
0
 public static SymOBOClient initOBOClient(SymConfig config, ISymAuth symBotAuth)
 {
     botClient = new SymOBOClient(config, symBotAuth);
     return(botClient);
 }