1 | "use strict";
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | Object.defineProperty(exports, "__esModule", { value: true });
|
19 | exports.BaseSubchannelWrapper = void 0;
|
20 | class BaseSubchannelWrapper {
|
21 | constructor(child) {
|
22 | this.child = child;
|
23 | }
|
24 | getConnectivityState() {
|
25 | return this.child.getConnectivityState();
|
26 | }
|
27 | addConnectivityStateListener(listener) {
|
28 | this.child.addConnectivityStateListener(listener);
|
29 | }
|
30 | removeConnectivityStateListener(listener) {
|
31 | this.child.removeConnectivityStateListener(listener);
|
32 | }
|
33 | startConnecting() {
|
34 | this.child.startConnecting();
|
35 | }
|
36 | getAddress() {
|
37 | return this.child.getAddress();
|
38 | }
|
39 | ref() {
|
40 | this.child.ref();
|
41 | }
|
42 | unref() {
|
43 | this.child.unref();
|
44 | }
|
45 | getChannelzRef() {
|
46 | return this.child.getChannelzRef();
|
47 | }
|
48 | getRealSubchannel() {
|
49 | return this.child.getRealSubchannel();
|
50 | }
|
51 | }
|
52 | exports.BaseSubchannelWrapper = BaseSubchannelWrapper;
|
53 |
|
\ | No newline at end of file |