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); }
public static SymBotClient initBot(SymConfig config, ISymAuth symBotAuth) { if (botClient == null) { botClient = new SymBotClient(config, symBotAuth); return(botClient); } return(botClient); }
public static SymBotClient initBot(SymConfig config, ISymAuth symBotAuth) { ServicePointManager.DefaultConnectionLimit = 10; if (botClient == null) { botClient = new SymBotClient(config, symBotAuth); return(botClient); } return(botClient); }
private SymOBOClient(SymConfig config, ISymAuth symBotAuth) { this.symBotAuth = symBotAuth; this.config = config; }
public static SymOBOClient initOBOClient(SymConfig config, ISymAuth symBotAuth) { botClient = new SymOBOClient(config, symBotAuth); return(botClient); }