@streamr/trackerless-network 103.0.0-rc.18 → 103.0.0-rc.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/google/protobuf/any.d.ts +2 -2
- package/dist/generated/google/protobuf/timestamp.d.ts +2 -2
- package/dist/generated/packages/dht/protos/DhtRpc.client.d.ts +44 -44
- package/dist/generated/packages/dht/protos/DhtRpc.client.js +23 -23
- package/dist/generated/packages/dht/protos/DhtRpc.d.ts +100 -100
- package/dist/generated/packages/dht/protos/DhtRpc.js +1 -1
- package/dist/generated/packages/dht/protos/DhtRpc.server.d.ts +22 -22
- package/dist/generated/packages/proto-rpc/protos/ProtoRpc.d.ts +8 -8
- package/dist/generated/packages/proto-rpc/protos/ProtoRpc.js +1 -1
- package/dist/generated/packages/trackerless-network/protos/NetworkRpc.client.d.ts +24 -24
- package/dist/generated/packages/trackerless-network/protos/NetworkRpc.client.js +13 -13
- package/dist/generated/packages/trackerless-network/protos/NetworkRpc.d.ts +65 -65
- package/dist/generated/packages/trackerless-network/protos/NetworkRpc.js +1 -1
- package/dist/generated/packages/trackerless-network/protos/NetworkRpc.server.d.ts +12 -12
- package/dist/package.json +6 -6
- package/dist/src/content-delivery-layer/inspection/Inspector.js +1 -1
- package/dist/src/content-delivery-layer/inspection/Inspector.js.map +1 -1
- package/dist/test/benchmark/first-message.js +1 -1
- package/dist/test/benchmark/first-message.js.map +1 -1
- package/package.json +6 -6
|
@@ -36,21 +36,21 @@ export interface IDhtNodeRpc<T = ServerCallContext> {
|
|
|
36
36
|
/**
|
|
37
37
|
* TODO rename to getClosestNeighbors (breaking change)
|
|
38
38
|
*
|
|
39
|
-
* @generated from protobuf rpc: getClosestPeers
|
|
39
|
+
* @generated from protobuf rpc: getClosestPeers
|
|
40
40
|
*/
|
|
41
41
|
getClosestPeers(request: ClosestPeersRequest, context: T): Promise<ClosestPeersResponse>;
|
|
42
42
|
/**
|
|
43
43
|
* TODO rename to getClosestRingContacts (breaking change)
|
|
44
44
|
*
|
|
45
|
-
* @generated from protobuf rpc: getClosestRingPeers
|
|
45
|
+
* @generated from protobuf rpc: getClosestRingPeers
|
|
46
46
|
*/
|
|
47
47
|
getClosestRingPeers(request: ClosestRingPeersRequest, context: T): Promise<ClosestRingPeersResponse>;
|
|
48
48
|
/**
|
|
49
|
-
* @generated from protobuf rpc: ping
|
|
49
|
+
* @generated from protobuf rpc: ping
|
|
50
50
|
*/
|
|
51
51
|
ping(request: PingRequest, context: T): Promise<PingResponse>;
|
|
52
52
|
/**
|
|
53
|
-
* @generated from protobuf rpc: leaveNotice
|
|
53
|
+
* @generated from protobuf rpc: leaveNotice
|
|
54
54
|
*/
|
|
55
55
|
leaveNotice(request: LeaveNotice, context: T): Promise<Empty>;
|
|
56
56
|
}
|
|
@@ -59,11 +59,11 @@ export interface IDhtNodeRpc<T = ServerCallContext> {
|
|
|
59
59
|
*/
|
|
60
60
|
export interface IRouterRpc<T = ServerCallContext> {
|
|
61
61
|
/**
|
|
62
|
-
* @generated from protobuf rpc: routeMessage
|
|
62
|
+
* @generated from protobuf rpc: routeMessage
|
|
63
63
|
*/
|
|
64
64
|
routeMessage(request: RouteMessageWrapper, context: T): Promise<RouteMessageAck>;
|
|
65
65
|
/**
|
|
66
|
-
* @generated from protobuf rpc: forwardMessage
|
|
66
|
+
* @generated from protobuf rpc: forwardMessage
|
|
67
67
|
*/
|
|
68
68
|
forwardMessage(request: RouteMessageWrapper, context: T): Promise<RouteMessageAck>;
|
|
69
69
|
}
|
|
@@ -72,7 +72,7 @@ export interface IRouterRpc<T = ServerCallContext> {
|
|
|
72
72
|
*/
|
|
73
73
|
export interface IRecursiveOperationRpc<T = ServerCallContext> {
|
|
74
74
|
/**
|
|
75
|
-
* @generated from protobuf rpc: routeRequest
|
|
75
|
+
* @generated from protobuf rpc: routeRequest
|
|
76
76
|
*/
|
|
77
77
|
routeRequest(request: RouteMessageWrapper, context: T): Promise<RouteMessageAck>;
|
|
78
78
|
}
|
|
@@ -81,11 +81,11 @@ export interface IRecursiveOperationRpc<T = ServerCallContext> {
|
|
|
81
81
|
*/
|
|
82
82
|
export interface IStoreRpc<T = ServerCallContext> {
|
|
83
83
|
/**
|
|
84
|
-
* @generated from protobuf rpc: storeData
|
|
84
|
+
* @generated from protobuf rpc: storeData
|
|
85
85
|
*/
|
|
86
86
|
storeData(request: StoreDataRequest, context: T): Promise<StoreDataResponse>;
|
|
87
87
|
/**
|
|
88
|
-
* @generated from protobuf rpc: replicateData
|
|
88
|
+
* @generated from protobuf rpc: replicateData
|
|
89
89
|
*/
|
|
90
90
|
replicateData(request: ReplicateDataRequest, context: T): Promise<Empty>;
|
|
91
91
|
}
|
|
@@ -94,7 +94,7 @@ export interface IStoreRpc<T = ServerCallContext> {
|
|
|
94
94
|
*/
|
|
95
95
|
export interface IRecursiveOperationSessionRpc<T = ServerCallContext> {
|
|
96
96
|
/**
|
|
97
|
-
* @generated from protobuf rpc: sendResponse
|
|
97
|
+
* @generated from protobuf rpc: sendResponse
|
|
98
98
|
*/
|
|
99
99
|
sendResponse(request: RecursiveOperationResponse, context: T): Promise<Empty>;
|
|
100
100
|
}
|
|
@@ -103,7 +103,7 @@ export interface IRecursiveOperationSessionRpc<T = ServerCallContext> {
|
|
|
103
103
|
*/
|
|
104
104
|
export interface IWebsocketClientConnectorRpc<T = ServerCallContext> {
|
|
105
105
|
/**
|
|
106
|
-
* @generated from protobuf rpc: requestConnection
|
|
106
|
+
* @generated from protobuf rpc: requestConnection
|
|
107
107
|
*/
|
|
108
108
|
requestConnection(request: WebsocketConnectionRequest, context: T): Promise<Empty>;
|
|
109
109
|
}
|
|
@@ -112,19 +112,19 @@ export interface IWebsocketClientConnectorRpc<T = ServerCallContext> {
|
|
|
112
112
|
*/
|
|
113
113
|
export interface IWebrtcConnectorRpc<T = ServerCallContext> {
|
|
114
114
|
/**
|
|
115
|
-
* @generated from protobuf rpc: requestConnection
|
|
115
|
+
* @generated from protobuf rpc: requestConnection
|
|
116
116
|
*/
|
|
117
117
|
requestConnection(request: WebrtcConnectionRequest, context: T): Promise<Empty>;
|
|
118
118
|
/**
|
|
119
|
-
* @generated from protobuf rpc: rtcOffer
|
|
119
|
+
* @generated from protobuf rpc: rtcOffer
|
|
120
120
|
*/
|
|
121
121
|
rtcOffer(request: RtcOffer, context: T): Promise<Empty>;
|
|
122
122
|
/**
|
|
123
|
-
* @generated from protobuf rpc: rtcAnswer
|
|
123
|
+
* @generated from protobuf rpc: rtcAnswer
|
|
124
124
|
*/
|
|
125
125
|
rtcAnswer(request: RtcAnswer, context: T): Promise<Empty>;
|
|
126
126
|
/**
|
|
127
|
-
* @generated from protobuf rpc: iceCandidate
|
|
127
|
+
* @generated from protobuf rpc: iceCandidate
|
|
128
128
|
*/
|
|
129
129
|
iceCandidate(request: IceCandidate, context: T): Promise<Empty>;
|
|
130
130
|
}
|
|
@@ -133,19 +133,19 @@ export interface IWebrtcConnectorRpc<T = ServerCallContext> {
|
|
|
133
133
|
*/
|
|
134
134
|
export interface IConnectionLockRpc<T = ServerCallContext> {
|
|
135
135
|
/**
|
|
136
|
-
* @generated from protobuf rpc: lockRequest
|
|
136
|
+
* @generated from protobuf rpc: lockRequest
|
|
137
137
|
*/
|
|
138
138
|
lockRequest(request: LockRequest, context: T): Promise<LockResponse>;
|
|
139
139
|
/**
|
|
140
|
-
* @generated from protobuf rpc: unlockRequest
|
|
140
|
+
* @generated from protobuf rpc: unlockRequest
|
|
141
141
|
*/
|
|
142
142
|
unlockRequest(request: UnlockRequest, context: T): Promise<Empty>;
|
|
143
143
|
/**
|
|
144
|
-
* @generated from protobuf rpc: gracefulDisconnect
|
|
144
|
+
* @generated from protobuf rpc: gracefulDisconnect
|
|
145
145
|
*/
|
|
146
146
|
gracefulDisconnect(request: DisconnectNotice, context: T): Promise<Empty>;
|
|
147
147
|
/**
|
|
148
|
-
* @generated from protobuf rpc: setPrivate
|
|
148
|
+
* @generated from protobuf rpc: setPrivate
|
|
149
149
|
*/
|
|
150
150
|
setPrivate(request: SetPrivateRequest, context: T): Promise<Empty>;
|
|
151
151
|
}
|
|
@@ -154,15 +154,15 @@ export interface IConnectionLockRpc<T = ServerCallContext> {
|
|
|
154
154
|
*/
|
|
155
155
|
export interface IExternalApiRpc<T = ServerCallContext> {
|
|
156
156
|
/**
|
|
157
|
-
* @generated from protobuf rpc: externalFetchData
|
|
157
|
+
* @generated from protobuf rpc: externalFetchData
|
|
158
158
|
*/
|
|
159
159
|
externalFetchData(request: ExternalFetchDataRequest, context: T): Promise<ExternalFetchDataResponse>;
|
|
160
160
|
/**
|
|
161
|
-
* @generated from protobuf rpc: externalStoreData
|
|
161
|
+
* @generated from protobuf rpc: externalStoreData
|
|
162
162
|
*/
|
|
163
163
|
externalStoreData(request: ExternalStoreDataRequest, context: T): Promise<ExternalStoreDataResponse>;
|
|
164
164
|
/**
|
|
165
|
-
* @generated from protobuf rpc: externalFindClosestNodes
|
|
165
|
+
* @generated from protobuf rpc: externalFindClosestNodes
|
|
166
166
|
*/
|
|
167
167
|
externalFindClosestNodes(request: ExternalFindClosestNodesRequest, context: T): Promise<ExternalFindClosestNodesResponse>;
|
|
168
168
|
}
|
|
@@ -6,33 +6,33 @@ import { Any } from "../../../google/protobuf/any";
|
|
|
6
6
|
*/
|
|
7
7
|
export interface RpcMessage {
|
|
8
8
|
/**
|
|
9
|
-
* @generated from protobuf field: map<string, string> header = 1
|
|
9
|
+
* @generated from protobuf field: map<string, string> header = 1
|
|
10
10
|
*/
|
|
11
11
|
header: {
|
|
12
12
|
[key: string]: string;
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
|
-
* @generated from protobuf field: google.protobuf.Any body = 2
|
|
15
|
+
* @generated from protobuf field: google.protobuf.Any body = 2
|
|
16
16
|
*/
|
|
17
17
|
body?: Any;
|
|
18
18
|
/**
|
|
19
|
-
* @generated from protobuf field: string requestId = 3
|
|
19
|
+
* @generated from protobuf field: string requestId = 3
|
|
20
20
|
*/
|
|
21
21
|
requestId: string;
|
|
22
22
|
/**
|
|
23
|
-
* @generated from protobuf field: optional protorpc.RpcErrorType errorType = 4
|
|
23
|
+
* @generated from protobuf field: optional protorpc.RpcErrorType errorType = 4
|
|
24
24
|
*/
|
|
25
25
|
errorType?: RpcErrorType;
|
|
26
26
|
/**
|
|
27
|
-
* @generated from protobuf field: optional string errorClassName = 5
|
|
27
|
+
* @generated from protobuf field: optional string errorClassName = 5
|
|
28
28
|
*/
|
|
29
29
|
errorClassName?: string;
|
|
30
30
|
/**
|
|
31
|
-
* @generated from protobuf field: optional string errorCode = 6
|
|
31
|
+
* @generated from protobuf field: optional string errorCode = 6
|
|
32
32
|
*/
|
|
33
33
|
errorCode?: string;
|
|
34
34
|
/**
|
|
35
|
-
* @generated from protobuf field: optional string errorMessage = 7
|
|
35
|
+
* @generated from protobuf field: optional string errorMessage = 7
|
|
36
36
|
*/
|
|
37
37
|
errorMessage?: string;
|
|
38
38
|
}
|
|
@@ -41,7 +41,7 @@ export interface RpcMessage {
|
|
|
41
41
|
*/
|
|
42
42
|
export interface Mnfo2uhnf92hvqi2nviouq2hv9puhq {
|
|
43
43
|
/**
|
|
44
|
-
* @generated from protobuf field: google.protobuf.Empty empty = 1
|
|
44
|
+
* @generated from protobuf field: google.protobuf.Empty empty = 1
|
|
45
45
|
*/
|
|
46
46
|
empty?: Empty;
|
|
47
47
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Mnfo2uhnf92hvqi2nviouq2hv9puhq = exports.RpcMessage = exports.RpcErrorType = void 0;
|
|
4
|
-
// @generated by protobuf-ts 2.
|
|
4
|
+
// @generated by protobuf-ts 2.11.0 with parameter server_generic,generate_dependencies,long_type_number
|
|
5
5
|
// @generated from protobuf file "packages/proto-rpc/protos/ProtoRpc.proto" (package "protorpc", syntax proto3)
|
|
6
6
|
// tslint:disable
|
|
7
7
|
const runtime_1 = require("@protobuf-ts/runtime");
|
|
@@ -25,11 +25,11 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
|
25
25
|
*/
|
|
26
26
|
export interface IContentDeliveryRpcClient {
|
|
27
27
|
/**
|
|
28
|
-
* @generated from protobuf rpc: sendStreamMessage
|
|
28
|
+
* @generated from protobuf rpc: sendStreamMessage
|
|
29
29
|
*/
|
|
30
30
|
sendStreamMessage(input: StreamMessage, options?: RpcOptions): UnaryCall<StreamMessage, Empty>;
|
|
31
31
|
/**
|
|
32
|
-
* @generated from protobuf rpc: leaveStreamPartNotice
|
|
32
|
+
* @generated from protobuf rpc: leaveStreamPartNotice
|
|
33
33
|
*/
|
|
34
34
|
leaveStreamPartNotice(input: LeaveStreamPartNotice, options?: RpcOptions): UnaryCall<LeaveStreamPartNotice, Empty>;
|
|
35
35
|
}
|
|
@@ -45,11 +45,11 @@ export declare class ContentDeliveryRpcClient implements IContentDeliveryRpcClie
|
|
|
45
45
|
};
|
|
46
46
|
constructor(_transport: RpcTransport);
|
|
47
47
|
/**
|
|
48
|
-
* @generated from protobuf rpc: sendStreamMessage
|
|
48
|
+
* @generated from protobuf rpc: sendStreamMessage
|
|
49
49
|
*/
|
|
50
50
|
sendStreamMessage(input: StreamMessage, options?: RpcOptions): UnaryCall<StreamMessage, Empty>;
|
|
51
51
|
/**
|
|
52
|
-
* @generated from protobuf rpc: leaveStreamPartNotice
|
|
52
|
+
* @generated from protobuf rpc: leaveStreamPartNotice
|
|
53
53
|
*/
|
|
54
54
|
leaveStreamPartNotice(input: LeaveStreamPartNotice, options?: RpcOptions): UnaryCall<LeaveStreamPartNotice, Empty>;
|
|
55
55
|
}
|
|
@@ -58,7 +58,7 @@ export declare class ContentDeliveryRpcClient implements IContentDeliveryRpcClie
|
|
|
58
58
|
*/
|
|
59
59
|
export interface IProxyConnectionRpcClient {
|
|
60
60
|
/**
|
|
61
|
-
* @generated from protobuf rpc: requestConnection
|
|
61
|
+
* @generated from protobuf rpc: requestConnection
|
|
62
62
|
*/
|
|
63
63
|
requestConnection(input: ProxyConnectionRequest, options?: RpcOptions): UnaryCall<ProxyConnectionRequest, ProxyConnectionResponse>;
|
|
64
64
|
}
|
|
@@ -74,7 +74,7 @@ export declare class ProxyConnectionRpcClient implements IProxyConnectionRpcClie
|
|
|
74
74
|
};
|
|
75
75
|
constructor(_transport: RpcTransport);
|
|
76
76
|
/**
|
|
77
|
-
* @generated from protobuf rpc: requestConnection
|
|
77
|
+
* @generated from protobuf rpc: requestConnection
|
|
78
78
|
*/
|
|
79
79
|
requestConnection(input: ProxyConnectionRequest, options?: RpcOptions): UnaryCall<ProxyConnectionRequest, ProxyConnectionResponse>;
|
|
80
80
|
}
|
|
@@ -83,11 +83,11 @@ export declare class ProxyConnectionRpcClient implements IProxyConnectionRpcClie
|
|
|
83
83
|
*/
|
|
84
84
|
export interface IHandshakeRpcClient {
|
|
85
85
|
/**
|
|
86
|
-
* @generated from protobuf rpc: handshake
|
|
86
|
+
* @generated from protobuf rpc: handshake
|
|
87
87
|
*/
|
|
88
88
|
handshake(input: StreamPartHandshakeRequest, options?: RpcOptions): UnaryCall<StreamPartHandshakeRequest, StreamPartHandshakeResponse>;
|
|
89
89
|
/**
|
|
90
|
-
* @generated from protobuf rpc: interleaveRequest
|
|
90
|
+
* @generated from protobuf rpc: interleaveRequest
|
|
91
91
|
*/
|
|
92
92
|
interleaveRequest(input: InterleaveRequest, options?: RpcOptions): UnaryCall<InterleaveRequest, InterleaveResponse>;
|
|
93
93
|
}
|
|
@@ -103,11 +103,11 @@ export declare class HandshakeRpcClient implements IHandshakeRpcClient, ServiceI
|
|
|
103
103
|
};
|
|
104
104
|
constructor(_transport: RpcTransport);
|
|
105
105
|
/**
|
|
106
|
-
* @generated from protobuf rpc: handshake
|
|
106
|
+
* @generated from protobuf rpc: handshake
|
|
107
107
|
*/
|
|
108
108
|
handshake(input: StreamPartHandshakeRequest, options?: RpcOptions): UnaryCall<StreamPartHandshakeRequest, StreamPartHandshakeResponse>;
|
|
109
109
|
/**
|
|
110
|
-
* @generated from protobuf rpc: interleaveRequest
|
|
110
|
+
* @generated from protobuf rpc: interleaveRequest
|
|
111
111
|
*/
|
|
112
112
|
interleaveRequest(input: InterleaveRequest, options?: RpcOptions): UnaryCall<InterleaveRequest, InterleaveResponse>;
|
|
113
113
|
}
|
|
@@ -116,7 +116,7 @@ export declare class HandshakeRpcClient implements IHandshakeRpcClient, ServiceI
|
|
|
116
116
|
*/
|
|
117
117
|
export interface INeighborUpdateRpcClient {
|
|
118
118
|
/**
|
|
119
|
-
* @generated from protobuf rpc: neighborUpdate
|
|
119
|
+
* @generated from protobuf rpc: neighborUpdate
|
|
120
120
|
*/
|
|
121
121
|
neighborUpdate(input: NeighborUpdate, options?: RpcOptions): UnaryCall<NeighborUpdate, NeighborUpdate>;
|
|
122
122
|
}
|
|
@@ -132,7 +132,7 @@ export declare class NeighborUpdateRpcClient implements INeighborUpdateRpcClient
|
|
|
132
132
|
};
|
|
133
133
|
constructor(_transport: RpcTransport);
|
|
134
134
|
/**
|
|
135
|
-
* @generated from protobuf rpc: neighborUpdate
|
|
135
|
+
* @generated from protobuf rpc: neighborUpdate
|
|
136
136
|
*/
|
|
137
137
|
neighborUpdate(input: NeighborUpdate, options?: RpcOptions): UnaryCall<NeighborUpdate, NeighborUpdate>;
|
|
138
138
|
}
|
|
@@ -141,11 +141,11 @@ export declare class NeighborUpdateRpcClient implements INeighborUpdateRpcClient
|
|
|
141
141
|
*/
|
|
142
142
|
export interface ITemporaryConnectionRpcClient {
|
|
143
143
|
/**
|
|
144
|
-
* @generated from protobuf rpc: openConnection
|
|
144
|
+
* @generated from protobuf rpc: openConnection
|
|
145
145
|
*/
|
|
146
146
|
openConnection(input: TemporaryConnectionRequest, options?: RpcOptions): UnaryCall<TemporaryConnectionRequest, TemporaryConnectionResponse>;
|
|
147
147
|
/**
|
|
148
|
-
* @generated from protobuf rpc: closeConnection
|
|
148
|
+
* @generated from protobuf rpc: closeConnection
|
|
149
149
|
*/
|
|
150
150
|
closeConnection(input: CloseTemporaryConnection, options?: RpcOptions): UnaryCall<CloseTemporaryConnection, Empty>;
|
|
151
151
|
}
|
|
@@ -161,11 +161,11 @@ export declare class TemporaryConnectionRpcClient implements ITemporaryConnectio
|
|
|
161
161
|
};
|
|
162
162
|
constructor(_transport: RpcTransport);
|
|
163
163
|
/**
|
|
164
|
-
* @generated from protobuf rpc: openConnection
|
|
164
|
+
* @generated from protobuf rpc: openConnection
|
|
165
165
|
*/
|
|
166
166
|
openConnection(input: TemporaryConnectionRequest, options?: RpcOptions): UnaryCall<TemporaryConnectionRequest, TemporaryConnectionResponse>;
|
|
167
167
|
/**
|
|
168
|
-
* @generated from protobuf rpc: closeConnection
|
|
168
|
+
* @generated from protobuf rpc: closeConnection
|
|
169
169
|
*/
|
|
170
170
|
closeConnection(input: CloseTemporaryConnection, options?: RpcOptions): UnaryCall<CloseTemporaryConnection, Empty>;
|
|
171
171
|
}
|
|
@@ -174,7 +174,7 @@ export declare class TemporaryConnectionRpcClient implements ITemporaryConnectio
|
|
|
174
174
|
*/
|
|
175
175
|
export interface INodeInfoRpcClient {
|
|
176
176
|
/**
|
|
177
|
-
* @generated from protobuf rpc: getInfo
|
|
177
|
+
* @generated from protobuf rpc: getInfo
|
|
178
178
|
*/
|
|
179
179
|
getInfo(input: NodeInfoRequest, options?: RpcOptions): UnaryCall<NodeInfoRequest, NodeInfoResponse>;
|
|
180
180
|
}
|
|
@@ -190,7 +190,7 @@ export declare class NodeInfoRpcClient implements INodeInfoRpcClient, ServiceInf
|
|
|
190
190
|
};
|
|
191
191
|
constructor(_transport: RpcTransport);
|
|
192
192
|
/**
|
|
193
|
-
* @generated from protobuf rpc: getInfo
|
|
193
|
+
* @generated from protobuf rpc: getInfo
|
|
194
194
|
*/
|
|
195
195
|
getInfo(input: NodeInfoRequest, options?: RpcOptions): UnaryCall<NodeInfoRequest, NodeInfoResponse>;
|
|
196
196
|
}
|
|
@@ -199,15 +199,15 @@ export declare class NodeInfoRpcClient implements INodeInfoRpcClient, ServiceInf
|
|
|
199
199
|
*/
|
|
200
200
|
export interface IPlumTreeRpcClient {
|
|
201
201
|
/**
|
|
202
|
-
* @generated from protobuf rpc: pauseNeighbor
|
|
202
|
+
* @generated from protobuf rpc: pauseNeighbor
|
|
203
203
|
*/
|
|
204
204
|
pauseNeighbor(input: PauseNeighborRequest, options?: RpcOptions): UnaryCall<PauseNeighborRequest, Empty>;
|
|
205
205
|
/**
|
|
206
|
-
* @generated from protobuf rpc: resumeNeighbor
|
|
206
|
+
* @generated from protobuf rpc: resumeNeighbor
|
|
207
207
|
*/
|
|
208
208
|
resumeNeighbor(input: ResumeNeighborRequest, options?: RpcOptions): UnaryCall<ResumeNeighborRequest, Empty>;
|
|
209
209
|
/**
|
|
210
|
-
* @generated from protobuf rpc: sendMetadata
|
|
210
|
+
* @generated from protobuf rpc: sendMetadata
|
|
211
211
|
*/
|
|
212
212
|
sendMetadata(input: MessageID, options?: RpcOptions): UnaryCall<MessageID, Empty>;
|
|
213
213
|
}
|
|
@@ -223,15 +223,15 @@ export declare class PlumTreeRpcClient implements IPlumTreeRpcClient, ServiceInf
|
|
|
223
223
|
};
|
|
224
224
|
constructor(_transport: RpcTransport);
|
|
225
225
|
/**
|
|
226
|
-
* @generated from protobuf rpc: pauseNeighbor
|
|
226
|
+
* @generated from protobuf rpc: pauseNeighbor
|
|
227
227
|
*/
|
|
228
228
|
pauseNeighbor(input: PauseNeighborRequest, options?: RpcOptions): UnaryCall<PauseNeighborRequest, Empty>;
|
|
229
229
|
/**
|
|
230
|
-
* @generated from protobuf rpc: resumeNeighbor
|
|
230
|
+
* @generated from protobuf rpc: resumeNeighbor
|
|
231
231
|
*/
|
|
232
232
|
resumeNeighbor(input: ResumeNeighborRequest, options?: RpcOptions): UnaryCall<ResumeNeighborRequest, Empty>;
|
|
233
233
|
/**
|
|
234
|
-
* @generated from protobuf rpc: sendMetadata
|
|
234
|
+
* @generated from protobuf rpc: sendMetadata
|
|
235
235
|
*/
|
|
236
236
|
sendMetadata(input: MessageID, options?: RpcOptions): UnaryCall<MessageID, Empty>;
|
|
237
237
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PlumTreeRpcClient = exports.NodeInfoRpcClient = exports.TemporaryConnectionRpcClient = exports.NeighborUpdateRpcClient = exports.HandshakeRpcClient = exports.ProxyConnectionRpcClient = exports.ContentDeliveryRpcClient = void 0;
|
|
4
|
-
// @generated by protobuf-ts 2.
|
|
4
|
+
// @generated by protobuf-ts 2.11.0 with parameter server_generic,generate_dependencies,long_type_number
|
|
5
5
|
// @generated from protobuf file "packages/trackerless-network/protos/NetworkRpc.proto" (syntax proto3)
|
|
6
6
|
// tslint:disable
|
|
7
7
|
const NetworkRpc_1 = require("./NetworkRpc");
|
|
@@ -24,14 +24,14 @@ class ContentDeliveryRpcClient {
|
|
|
24
24
|
this._transport = _transport;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
|
-
* @generated from protobuf rpc: sendStreamMessage
|
|
27
|
+
* @generated from protobuf rpc: sendStreamMessage
|
|
28
28
|
*/
|
|
29
29
|
sendStreamMessage(input, options) {
|
|
30
30
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
31
31
|
return (0, runtime_rpc_1.stackIntercept)("unary", this._transport, method, opt, input);
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
|
-
* @generated from protobuf rpc: leaveStreamPartNotice
|
|
34
|
+
* @generated from protobuf rpc: leaveStreamPartNotice
|
|
35
35
|
*/
|
|
36
36
|
leaveStreamPartNotice(input, options) {
|
|
37
37
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
@@ -51,7 +51,7 @@ class ProxyConnectionRpcClient {
|
|
|
51
51
|
this._transport = _transport;
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
|
-
* @generated from protobuf rpc: requestConnection
|
|
54
|
+
* @generated from protobuf rpc: requestConnection
|
|
55
55
|
*/
|
|
56
56
|
requestConnection(input, options) {
|
|
57
57
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
@@ -71,14 +71,14 @@ class HandshakeRpcClient {
|
|
|
71
71
|
this._transport = _transport;
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
|
-
* @generated from protobuf rpc: handshake
|
|
74
|
+
* @generated from protobuf rpc: handshake
|
|
75
75
|
*/
|
|
76
76
|
handshake(input, options) {
|
|
77
77
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
78
78
|
return (0, runtime_rpc_1.stackIntercept)("unary", this._transport, method, opt, input);
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
|
-
* @generated from protobuf rpc: interleaveRequest
|
|
81
|
+
* @generated from protobuf rpc: interleaveRequest
|
|
82
82
|
*/
|
|
83
83
|
interleaveRequest(input, options) {
|
|
84
84
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
@@ -98,7 +98,7 @@ class NeighborUpdateRpcClient {
|
|
|
98
98
|
this._transport = _transport;
|
|
99
99
|
}
|
|
100
100
|
/**
|
|
101
|
-
* @generated from protobuf rpc: neighborUpdate
|
|
101
|
+
* @generated from protobuf rpc: neighborUpdate
|
|
102
102
|
*/
|
|
103
103
|
neighborUpdate(input, options) {
|
|
104
104
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
@@ -118,14 +118,14 @@ class TemporaryConnectionRpcClient {
|
|
|
118
118
|
this._transport = _transport;
|
|
119
119
|
}
|
|
120
120
|
/**
|
|
121
|
-
* @generated from protobuf rpc: openConnection
|
|
121
|
+
* @generated from protobuf rpc: openConnection
|
|
122
122
|
*/
|
|
123
123
|
openConnection(input, options) {
|
|
124
124
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
125
125
|
return (0, runtime_rpc_1.stackIntercept)("unary", this._transport, method, opt, input);
|
|
126
126
|
}
|
|
127
127
|
/**
|
|
128
|
-
* @generated from protobuf rpc: closeConnection
|
|
128
|
+
* @generated from protobuf rpc: closeConnection
|
|
129
129
|
*/
|
|
130
130
|
closeConnection(input, options) {
|
|
131
131
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
@@ -145,7 +145,7 @@ class NodeInfoRpcClient {
|
|
|
145
145
|
this._transport = _transport;
|
|
146
146
|
}
|
|
147
147
|
/**
|
|
148
|
-
* @generated from protobuf rpc: getInfo
|
|
148
|
+
* @generated from protobuf rpc: getInfo
|
|
149
149
|
*/
|
|
150
150
|
getInfo(input, options) {
|
|
151
151
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
@@ -165,21 +165,21 @@ class PlumTreeRpcClient {
|
|
|
165
165
|
this._transport = _transport;
|
|
166
166
|
}
|
|
167
167
|
/**
|
|
168
|
-
* @generated from protobuf rpc: pauseNeighbor
|
|
168
|
+
* @generated from protobuf rpc: pauseNeighbor
|
|
169
169
|
*/
|
|
170
170
|
pauseNeighbor(input, options) {
|
|
171
171
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
172
172
|
return (0, runtime_rpc_1.stackIntercept)("unary", this._transport, method, opt, input);
|
|
173
173
|
}
|
|
174
174
|
/**
|
|
175
|
-
* @generated from protobuf rpc: resumeNeighbor
|
|
175
|
+
* @generated from protobuf rpc: resumeNeighbor
|
|
176
176
|
*/
|
|
177
177
|
resumeNeighbor(input, options) {
|
|
178
178
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
179
179
|
return (0, runtime_rpc_1.stackIntercept)("unary", this._transport, method, opt, input);
|
|
180
180
|
}
|
|
181
181
|
/**
|
|
182
|
-
* @generated from protobuf rpc: sendMetadata
|
|
182
|
+
* @generated from protobuf rpc: sendMetadata
|
|
183
183
|
*/
|
|
184
184
|
sendMetadata(input, options) {
|
|
185
185
|
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|