An Awala service message to be sent to another Awala endpoint.

interface OutgoingServiceMessage {
    content: Buffer;
    contentType: string;
    creationDate?: Date;
    expiryDate?: Date;
    parcelId?: string;
    recipientId: string;
    senderId?: string;
}

Hierarchy

  • ServiceMessageBase
  • Partial<ServiceMessageExtra>
    • OutgoingServiceMessage

Properties

content: Buffer

The content of the Awala service message.

contentType: string

The content type of the Awala service message.

creationDate?: Date

The creation date of the Awala parcel that encapsulated the service message.

expiryDate?: Date

The expiry date of the Awala parcel that encapsulated the service message.

parcelId?: string

The id of the Awala parcel that encapsulated the service message.

recipientId: string

The Awala endpoint id of the recipient of the parcel that encapsulated the service message.

senderId?: string

The Awala endpoint id of the sender of the parcel that encapsulated the service message.