@@ -49,9 +49,6 @@ export interface IOdpManager {
49
49
registerVuid ( vuid : string ) : void ;
50
50
}
51
51
52
- /**
53
- * Possible statuses for the OdpManager
54
- */
55
52
export enum Status {
56
53
Running ,
57
54
Stopped ,
@@ -72,37 +69,28 @@ export abstract class OdpManager implements IOdpManager {
72
69
*/
73
70
private configPromise : ResolvablePromise < void > ;
74
71
75
- /**
76
- * The current status of the ODP Manager
77
- */
78
72
private status : Status = Status . Stopped ;
79
73
80
74
/**
81
75
* ODP Segment Manager which provides an interface to the remote ODP server (GraphQL API) for audience segments mapping.
82
76
* It fetches all qualified segments for the given user context and manages the segments cache for all user contexts.
83
- * @private
84
- * @readonly
85
77
*/
86
78
private readonly segmentManager : IOdpSegmentManager ;
87
79
88
80
/**
89
81
* ODP Event Manager which provides an interface to the remote ODP server (REST API) for events.
90
82
* It will queue all pending events (persistent) and send them (in batches of up to 10 events) to the ODP server when possible.
91
- * @protected
92
- * @readonly
93
83
*/
94
84
protected readonly eventManager : IOdpEventManager ;
95
85
96
86
/**
97
87
* Handler for recording execution logs
98
88
* @protected
99
- * @readonly
100
89
*/
101
90
protected readonly logger : LogHandler ;
102
91
103
92
/**
104
93
* ODP configuration settings for identifying the target API and segments
105
- * @protected
106
94
*/
107
95
protected odpIntegrationConfig ?: OdpIntegrationConfig ;
108
96
@@ -135,23 +123,12 @@ export abstract class OdpManager implements IOdpManager {
135
123
}
136
124
}
137
125
138
- /**
139
- * Register a VUID with the ODP Manager in client side context
140
- * @param {string } vuid - Unique identifier of an anonymous vistor
141
- */
142
126
abstract registerVuid ( vuid : string ) : void ;
143
127
144
- /**
145
- * @returns {Status } The current status of the ODP Manager
146
- */
147
128
getStatus ( ) : Status {
148
129
return this . status ;
149
130
}
150
131
151
- /**
152
- * Starts the ODP Manager
153
- * @returns {Promise<void> } A promise that resolves when starting has completed
154
- */
155
132
async start ( ) : Promise < void > {
156
133
if ( this . status === Status . Running ) {
157
134
return ;
@@ -172,10 +149,6 @@ export abstract class OdpManager implements IOdpManager {
172
149
return Promise . resolve ( ) ;
173
150
}
174
151
175
- /**
176
- * Stops the ODP Manager
177
- * @returns A promise that resolves when stopping has completed
178
- */
179
152
async stop ( ) : Promise < void > {
180
153
if ( this . status === Status . Stopped ) {
181
154
return ;
0 commit comments