/// <summary>
 /// Creates a new instance of the robot service
 /// </summary>
 public RemoteService(RemoteServiceConfig config)
 {
     //check config
     if (config==null) throw new ArgumentException("No configuration specified");
     config.VerifyConfig();
     _config = config;
     //setup services
     _xmlrpcservice = new XmlRpcService(this);
     _httpservice = new HTTPService(this);
     //setup collection
     _keywordmaps = new KeywordMapCollection();
 }
Example #2
0
 /// <summary>
 /// Creates a new instance of the robot service
 /// </summary>
 public RemoteService(RemoteServiceConfig config)
 {
     //check config
     if (config == null)
     {
         throw new ArgumentException("No configuration specified");
     }
     config.VerifyConfig();
     _config = config;
     //setup services
     _xmlrpcservice = new XmlRpcService(this);
     _httpservice   = new HTTPService(this);
     //setup collection
     _keywordmaps = new KeywordMapCollection();
 }