This commit is contained in:
crusader
2018-06-14 13:38:51 +09:00
parent 33a66ce300
commit 561d2b7180
7 changed files with 15 additions and 22 deletions

View File

@@ -14,6 +14,10 @@ export class ProbeHostService {
}
public read(id: number): Observable<ProbeHost> {
return this.rpcService.call<ProbeHost>('ProbeHostService.read', id);
}
public readByProbeID(probeID: number): Observable<Probe> {
return this.rpcService.call<ProbeHost>('ProbeHostService.readByProbeID', probeID);
}
@@ -22,8 +26,4 @@ export class ProbeHostService {
return this.rpcService.call<ProbeHost[]>('ProbeHostService.readAllByDomainID', domainID);
}
public read(id: number): Observable<ProbeHost> {
return this.rpcService.call<ProbeHost>('ProbeHostService.read', id);
}
}

View File

@@ -17,8 +17,8 @@ export class ProbeService {
}
public readAllByDomain(domain: Domain): Observable<Probe[]> {
return this.rpcService.call<Probe[]>('ProbeService.readAllByDomain', domain);
public readAllByDomainID(domainID: number): Observable<Probe[]> {
return this.rpcService.call<Probe[]>('ProbeService.readAllByDomainID', domainID);
}
public read(id: number): Observable<Probe> {
@@ -33,8 +33,4 @@ export class ProbeService {
return this.rpcService.call<boolean>('ProbeService.remove', id);
}
public modifyDisplayName(id: number, displayName: string): Observable<Probe> {
return this.rpcService.call<Probe>('ProbeService.modifyDisplayName', id, displayName);
}
}