From a1ed26b0041e00b0204c94f9a58fef30fd6de4cd Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 20 Feb 2020 13:15:38 +0400 Subject: Class "Service" base structure Signed-off-by: Valentin Popov --- dist/service.d.ts | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 dist/service.d.ts (limited to 'dist/service.d.ts') diff --git a/dist/service.d.ts b/dist/service.d.ts new file mode 100644 index 0000000..619203f --- /dev/null +++ b/dist/service.d.ts @@ -0,0 +1,73 @@ +import { ActivityManager } from "./activity-manager"; +import { Message } from "./message"; +import { Method } from "./method"; + +export interface IServiceOptions { + readonly idleTimer?: number; + readonly noBuiltinMethods?: boolean; +} + +export declare class Service { + public constructor(busId: string, activityManager?: ActivityManager, options?: IServiceOptions); + + public readonly activityManager: ActivityManager; + + public readonly busId: string; + + public readonly cancelHandlers: Record; + + public readonly handlers: Record; + + public readonly idleTimer: number; + + public readonly methods: { [category: string]: { [methodName: string]: Method } }; + + public readonly noBuiltinMethods: boolean; + + public readonly subscriptions: { [id: string]: Message }; + + public cleanupUnifiedDone: boolean; + + // @todo Need to "palmbus" + public handle: any; + + public hasPublicMethods: boolean; + + // @todo Need to "palmbus" + public privateHandle: any; + + // @todo Need to "palmbus" + public publicHandle: any; + + // @todo Need to "palmbus" + public sendingHandle: any; + + public useACG: boolean; + + // @todo Need to "unified_service" + private readonly __serviceMainUnified: any; + + public call(): any; + + public cancelSubscription(): any; + + public cleanupUnified(): any; + + public idIsPrivileged(): any; + + public info(): any; + + public quit(): any; + + public register(): any; + + public registerPrivate(): any; + + public subscribe(): any; + + private _dispatch(): any; + + private _register(): any; + + private _registerBuiltInMethods(): any; +} -- cgit v1.2.3