From a56871131a5dd353122e5a55061cd862895f8076 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 20 Feb 2020 14:07:26 +0400 Subject: Finished class "Message" structure Signed-off-by: Valentin Popov --- dist/message.d.ts | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 dist/message.d.ts (limited to 'dist/message.d.ts') diff --git a/dist/message.d.ts b/dist/message.d.ts new file mode 100644 index 0000000..6e6ba48 --- /dev/null +++ b/dist/message.d.ts @@ -0,0 +1,35 @@ +import { ActivityManager } from "./activity-manager"; +import { Service } from "./service"; + +export declare class Message { + // @todo Need to "palmbus" + public constructor(message: any, handle: any, activityManager: ActivityManager, service: Service); + + public readonly activityManager: ActivityManager; + + public readonly category: string; + + // @todo Need to "palmbus" + public readonly handle: any; + + public readonly isSubscription: boolean; + + public readonly ls2Message: any; + + // @todo Need to "palmbus" + public readonly method: string; + + public readonly payload: Record; + + public readonly sender: string; + + public readonly service: Service; + + public readonly token: string; + + public readonly uniqueToken: string; + + public cancel(response: Record): void; + + public respond(response: Record): boolean; +} -- cgit v1.2.3