-
Notifications
You must be signed in to change notification settings - Fork 6
/
eventNames.js
50 lines (35 loc) · 1.95 KB
/
eventNames.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
* This is just to keep track of the event names and their object types
*
*/
utils.observer.publish("ready", status);
utils.observer.publish("error", { type: "", message: ""});
utils.observer.publish("loading", boolean);
utils.observer.publish("view.ready");
utils.observer.publish("view.graph:new");
utils.observer.publish("view.graph:change");
utils.observer.publish("view:probe-set", [Probe]);
utils.observer.publish("view:max-hops", Integer);
utils.observer.publish("view.traceroute:mousein", Traceroute);
utils.observer.publish("view.traceroute:mouseout", Traceroute);
utils.observer.publish("view.traceroute:click", Traceroute);
utils.observer.publish("view.traceroute.search-results:change", Traceroute);
utils.observer.publish("view.traceroute.search-results:new", Traceroute);
utils.observer.publish("view.traceroute.search:new", Traceroute);
utils.observer.publish("view.status:change", {msm: {source:Tracroute}});
utils.observer.publish("view.animation:stop", Moment);
utils.observer.publish("view.animation:start", Moment);
utils.observer.publish("view.label-level:change", Moment);
utils.observer.publish("view.time-selection:change", { startDate: Moment, stopDate: Moment });
utils.observer.publish("view.current-instant:change", Moment);
utils.observer.publish("model.ready", return getModel());
utils.observer.publish("model.host:new", Host);
utils.observer.publish("model.host:locating", Host);
utils.observer.publish("model.host:no-location", Host);
utils.observer.publish("model.host:change", Host);
utils.observer.publish("model.as:new", AutonomousSystem);
utils.observer.publish("model.as:change", AutonomousSystem);
utils.observer.publish("model.measurement:new", Measurement); // We have a new measurement metadata object (no results)
utils.observer.publish("model.measurement:removed", Integer); // the msmId was removed (no obj instance anymore)
utils.observer.publish("model.history:new", null);
utils.observer.publish("model.history:change", null);