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 | throttleKeepalive(newKeepaliveTime) {
|
40 | this.child.throttleKeepalive(newKeepaliveTime);
|
41 | }
|
42 | ref() {
|
43 | this.child.ref();
|
44 | }
|
45 | unref() {
|
46 | this.child.unref();
|
47 | }
|
48 | getChannelzRef() {
|
49 | return this.child.getChannelzRef();
|
50 | }
|
51 | getRealSubchannel() {
|
52 | return this.child.getRealSubchannel();
|
53 | }
|
54 | }
|
55 | exports.BaseSubchannelWrapper = BaseSubchannelWrapper;
|
56 |
|
\ | No newline at end of file |