lisk-framework
Version:
Lisk blockchain application platform
23 lines (22 loc) • 607 B
TypeScript
import { Dealer } from 'zeromq';
import { IPCSocket } from './ipc_socket';
interface ClientSocketPaths {
readonly pub: string;
readonly sub: string;
readonly rpcServer: string;
readonly rpcClient: string;
}
export declare class IPCClient extends IPCSocket {
readonly socketPaths: ClientSocketPaths;
protected readonly _clientRPCSocketPath: string;
private _rpcClient?;
constructor(options: {
socketsDir: string;
name: string;
rpcServerSocketPath: string;
});
get rpcClient(): Dealer;
start(): Promise<void>;
stop(): void;
}
export {};