Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Message

Hierarchy

  • Message

Index

Properties

Optional command

command?: COMMAND

the command the message is supposed to trigger

Optional content

content?: {}

the actual content of the message as a simple javascript object like a FUDGE-Mutator

Type declaration

  • [key: string]: any

Optional idSource

idSource?: string

the id of the client sending the message, undefined for server. Automatically inserted by dispatch-method

Optional idTarget

idTarget?: string

the id of the intended recipient of the message, undefined for messages to the server or to all

Optional route

route?: ROUTE

the route the message is supposed to take, undefined for peers

Optional timeSender

timeSender?: number

the timestamp of the sender. Automatically set by dispatch-method

Optional timeServer

timeServer?: number

the timestamp of the server sending or passing this message. Automatically set by dispatch- or pass-method

Generated using TypeDoc