aboutsummaryrefslogtreecommitdiff
path: root/dist/service.d.ts
blob: 619203fea63821615d0e5aa9c86c29c6c7405025 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
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<string, any>;

	public readonly handlers: Record<string, any>;

	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;
}