Ejemplo n.º 1
0
 /**
  * Initialize the event depot.
  *
  * @param host          The host name of the data collector
  * @param queryParams   Query parameters to send along with the request
  * @param reqTimeout    A timeout, in milliseconds, representing the maxmimum amount of time one should wait for CognitiveVR network requests to complete.
  */
 internal static void init(string host, string queryParams, int reqTimeout)
 {
     // Save off the parameters needed to submit requests to send the events to the data collector
     sReqTimeout = reqTimeout;
     sUri = new Uri(host + "/isos-personalization/ws/interface/datacollector_batch" + queryParams);
     sRequestListener = new SendEventRequestListener();
 }
Ejemplo n.º 2
0
 /**
  * Initialize the event depot.
  *
  * @param host          The host name of the data collector
  * @param queryParams   Query parameters to send along with the request
  * @param reqTimeout    A timeout, in milliseconds, representing the maxmimum amount of time one should wait for CognitiveVR network requests to complete.
  */
 internal static void init(string host, string queryParams, int reqTimeout)
 {
     // Save off the parameters needed to submit requests to send the events to the data collector
     sReqTimeout      = reqTimeout;
     sUri             = new Uri(host + "/isos-personalization/ws/interface/datacollector_batch" + queryParams);
     sRequestListener = new SendEventRequestListener();
 }