import {ExecuteMessageBody} from 'service-framework/src/message-factory/MessageBody.js'
ExecuteMessageBody
Extends:
Class representation of the ExecuteMessageBoday data Object. Contains the name of method to be invoked and an array and an Array of objects to be passed as parameters to the defined method. This is compliant with JSON-RPC Spec.
Constructor Summary
Public Constructor | ||
public |
constructor(idToken: Identity.JWT, accessToken: Identity.JWT, resource: URL.URL, schema: URL.HypertyCatalogueURL, assertedIdentity: Identity.Identity, message: Message) Constructor to create the object |
Inherited Summary
From class RethinkObject | ||
public |
Validates this RethinkObject against the provided schema. |
From class MessageBody | ||
public |
accessToken: * |
|
public |
|
|
public |
idToken: * |
|
public |
resource: * |
|
public |
schema: * |
|
public |
via: * |
|
public |
addVia(token: Identity.JWT): MessageBody Adds a via URL to the given message body. |
Public Constructors
public constructor(idToken: Identity.JWT, accessToken: Identity.JWT, resource: URL.URL, schema: URL.HypertyCatalogueURL, assertedIdentity: Identity.Identity, message: Message) source
Constructor to create the object
Override:
MessageBody#constructorParams:
Name | Type | Attribute | Description |
idToken | Identity.JWT | ||
accessToken | Identity.JWT | ||
resource | URL.URL | URL of the object |
|
schema | URL.HypertyCatalogueURL | URL of the Data object schema stored in the Catalogue |
|
assertedIdentity | Identity.Identity | AssertedIdentity is compliant with User Identity Data Model |
|
message | Message | Message to be forwarded |