ing
This commit is contained in:
parent
cf052670cc
commit
c1fa8fdb05
|
@ -27,13 +27,10 @@ export class DiscoverySubscriber {
|
||||||
public constructor(
|
public constructor(
|
||||||
private loggerService: LoggerService,
|
private loggerService: LoggerService,
|
||||||
) {
|
) {
|
||||||
this.discoverySubscriberSubject = null;
|
this.discoverySubscriberSubject = new DiscoverySubscriberSubject();
|
||||||
}
|
}
|
||||||
|
|
||||||
public observable(): Observable<DiscoveryNotify> {
|
public observable(): Observable<DiscoveryNotify> {
|
||||||
if (null === this.discoverySubscriberSubject) {
|
|
||||||
this.discoverySubscriberSubject = new DiscoverySubscriberSubject();
|
|
||||||
}
|
|
||||||
return this.discoverySubscriberSubject.asObservable();
|
return this.discoverySubscriberSubject.asObservable();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,13 +23,10 @@ export class NoAuthProbeSubscriber {
|
||||||
public constructor(
|
public constructor(
|
||||||
private loggerService: LoggerService,
|
private loggerService: LoggerService,
|
||||||
) {
|
) {
|
||||||
this.noAuthProbeSubscriberSubject = null;
|
this.noAuthProbeSubscriberSubject = new NoAuthProbeSubscriberSubject();
|
||||||
}
|
}
|
||||||
|
|
||||||
public observable(): Observable<NoAuthProbeNotify> {
|
public observable(): Observable<NoAuthProbeNotify> {
|
||||||
if (null === this.noAuthProbeSubscriberSubject) {
|
|
||||||
this.noAuthProbeSubscriberSubject = new NoAuthProbeSubscriberSubject();
|
|
||||||
}
|
|
||||||
return this.noAuthProbeSubscriberSubject.asObservable();
|
return this.noAuthProbeSubscriberSubject.asObservable();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,13 +23,10 @@ export class ProbeSubscriber {
|
||||||
public constructor(
|
public constructor(
|
||||||
private loggerService: LoggerService,
|
private loggerService: LoggerService,
|
||||||
) {
|
) {
|
||||||
this.probeSubscriberSubject = null;
|
this.probeSubscriberSubject = new ProbeSubscriberSubject();
|
||||||
}
|
}
|
||||||
|
|
||||||
public observable(): Observable<ProbeNotify> {
|
public observable(): Observable<ProbeNotify> {
|
||||||
if (null === this.probeSubscriberSubject) {
|
|
||||||
this.probeSubscriberSubject = new ProbeSubscriberSubject();
|
|
||||||
}
|
|
||||||
return this.probeSubscriberSubject.asObservable();
|
return this.probeSubscriberSubject.asObservable();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user