• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import {Address, ProfilerClient} from "./ProfilerClient.js";
2
3export class HiProfilerClient {
4    private _client: ProfilerClient;
5    private _address: Address;
6
7    get client(): ProfilerClient {
8        return this._client;
9    }
10
11    set client(value: ProfilerClient) {
12        this._client = value;
13    }
14
15    get address(): Address {
16        return this._address;
17    }
18
19    set address(value: Address) {
20        this._address = value;
21    }
22
23    public constructor(clients: ProfilerClient, addr: Address) {
24        this._client = clients;
25        this._address = addr;
26    };
27
28    public getProfilerClient(): ProfilerClient{
29       return this._client;
30    }
31
32    public getCapabilities() {
33        // this.client.start()
34        // this.client.getCapabilities(
35    }
36
37    public createSession() {
38        // this.client.createSession(
39    }
40
41    public startSession() {
42        // this.client.startSession(
43    }
44
45    public stopSession() {
46        // this.client.stopSession(
47    }
48
49    public destroySession() {
50        // this.client.destroySession(
51    }
52
53    public keepSession() {
54        // this.client.keepSession(
55    }
56}