diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-20 13:07:26 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-20 13:07:26 +0300 |
commit | a56871131a5dd353122e5a55061cd862895f8076 (patch) | |
tree | 19e0ab97dfcfec78713c1c19651bc96311d25765 /dist | |
parent | c74e8da089aaf07e71473dfe38e922f03c49ed14 (diff) | |
download | webos-service-types-a56871131a5dd353122e5a55061cd862895f8076.tar.xz webos-service-types-a56871131a5dd353122e5a55061cd862895f8076.zip |
Finished class "Message" structure
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'dist')
-rw-r--r-- | dist/message.d.ts | 35 |
1 files changed, 35 insertions, 0 deletions
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<string, any>; + + public readonly sender: string; + + public readonly service: Service; + + public readonly token: string; + + public readonly uniqueToken: string; + + public cancel(response: Record<string, any>): void; + + public respond(response: Record<string, any>): boolean; +} |