aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-20 13:07:26 +0300
committerValentin Popov <info@valentineus.link>2020-02-20 13:07:26 +0300
commita56871131a5dd353122e5a55061cd862895f8076 (patch)
tree19e0ab97dfcfec78713c1c19651bc96311d25765
parentc74e8da089aaf07e71473dfe38e922f03c49ed14 (diff)
downloadwebos-service-types-a56871131a5dd353122e5a55061cd862895f8076.tar.xz
webos-service-types-a56871131a5dd353122e5a55061cd862895f8076.zip
Finished class "Message" structure
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--dist/message.d.ts35
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;
+}