1 | export interface TcpSubchannelAddress {
|
2 | port: number;
|
3 | host: string;
|
4 | }
|
5 | export interface IpcSubchannelAddress {
|
6 | path: string;
|
7 | }
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 | export type SubchannelAddress = TcpSubchannelAddress | IpcSubchannelAddress;
|
15 | export declare function isTcpSubchannelAddress(address: SubchannelAddress): address is TcpSubchannelAddress;
|
16 | export declare function subchannelAddressEqual(address1?: SubchannelAddress, address2?: SubchannelAddress): boolean;
|
17 | export declare function subchannelAddressToString(address: SubchannelAddress): string;
|
18 | export declare function stringToSubchannelAddress(addressString: string, port?: number): SubchannelAddress;
|