public JsArray getSavedFiredList(Tapstream ts) { string[] strings = ts.GetSavedFiredList(); JsArray array = engine.Global.ArrayClass.New(); array.Length = strings.Length; for(int i = 0; i < strings.Length; i++) { array.put(i, engine.Global.StringClass.New(strings[i])); } return array; }
public JsArray getSavedFiredList(Tapstream ts) { string[] strings = ts.GetSavedFiredList(); JsArray array = engine.Global.ArrayClass.New(); array.Length = strings.Length; for (int i = 0; i < strings.Length; i++) { array.put(i, engine.Global.StringClass.New(strings[i])); } return(array); }
public static void Create(string accountName, string developerSecret, Config config) { lock (instanceLock) { if (instance == null) { instance = new Tapstream(accountName, developerSecret, config); } else { Logging.Log(LogLevel.WARN, "Tapstream Warning: Tapstream already instantiated, it cannot be re-created."); } } }
public static void Create(string accountName, string developerSecret, Config config) { lock (instanceLock) { if (instance == null) { instance = new Tapstream(accountName, developerSecret, config); } else { Logging.Log(LogLevel.WARN, "Tapstream Warning: Tapstream already instantiated, it cannot be re-created."); } } }
public double getDelay(Tapstream ts) { return(ts.GetDelay()); }
public void setDelay(Tapstream ts, double delay) { ts.SetDelay((int)delay); }
public string getPostData(Tapstream ts) { return(ts.GetPostData()); }
public void setResponseStatus(Tapstream ts, int status) { ts.SetResponseStatus(status); }
public string getPostData(Tapstream ts) { return ts.GetPostData(); }
public double getDelay(Tapstream ts) { return ts.GetDelay(); }
public void setResponseStatus(Tapstream ts, int status) { ts.SetResponseStatus(status); }
public void setDelay(Tapstream ts, double delay) { ts.SetDelay((int)delay); }
public DelegateImpl(Tapstream ts) { this.ts = ts; }
public void prepareEvent(Tapstream ts, Event e) { e.Prepare(ts.config.GlobalEventParams); }
public DelegateImpl(Tapstream ts) { this.ts = ts; }
public void prepareEvent(Tapstream ts, Event e) { e.Prepare(ts.config.GlobalEventParams); }