@hpcc-js/comms
Version:
hpcc-js - Communications
40 lines • 1.5 kB
TypeScript
import { Cache, StateObject } from "@hpcc-js/util";
import { IConnection, IOptions } from "../connection";
import { WsMachine, MachineService } from "../services/wsMachine";
export declare class MachineCache extends Cache<{
Address: string;
}, Machine> {
constructor();
}
export interface MachineInfoEx extends WsMachine.MachineInfoEx {
}
export declare class Machine extends StateObject<MachineInfoEx, MachineInfoEx> implements MachineInfoEx {
protected connection: MachineService;
get Address(): string;
get ConfigAddress(): string;
get Name(): string;
get ProcessType(): string;
get DisplayType(): string;
get Description(): string;
get AgentVersion(): string;
get Contact(): string;
get Location(): string;
get UpTime(): string;
get ComponentName(): string;
get ComponentPath(): string;
get RoxieState(): string;
get RoxieStateDetails(): string;
get OS(): number;
get ProcessNumber(): number;
get Channels(): number;
get Processors(): WsMachine.Processors;
get Storage(): WsMachine.Storage;
get Running(): WsMachine.Running;
get PhysicalMemory(): WsMachine.PhysicalMemory;
get VirtualMemory(): WsMachine.VirtualMemory;
get ComponentInfo(): WsMachine.ComponentInfo;
get Exception(): string;
static attach(optsConnection: IOptions | IConnection | MachineService, address: string, state?: WsMachine.MachineInfoEx): Machine;
private constructor();
}
//# sourceMappingURL=machine.d.ts.map