@glue42/bbg-market-data
Version:
A high-level API that wraps existing Glue42 Bloomberg Bridge Market Data interop methods. The API is based on the jBloomberg open source wrapper.
14 lines (13 loc) • 587 B
TypeScript
import { MdfBridge } from "./../bridge/mdf-bridge";
import { ConnectionStatus } from "./connection-status";
import { UnsubscribeFunction } from "callback-registry";
export declare class Connection {
private readonly mdfBridge;
private readonly connectionPeriodMsecs;
private readonly registry;
private connectionStatus;
constructor(mdfBridge: MdfBridge, connectionPeriodMsecs: number | undefined);
onConnectionStatusChanged(callback: (status: ConnectionStatus) => void): UnsubscribeFunction;
private setConnectionStatus;
private subscribe;
}