Skip to main content

Class: SetAttributeMessage

Defined in: messages/SetAttributeMessage.ts:4

Extends

Constructors

new SetAttributeMessage()

new SetAttributeMessage(ref, name, value): SetAttributeMessage

Defined in: messages/SetAttributeMessage.ts:8

Parameters

ref

Ref

name

string

value

string

Returns

SetAttributeMessage

Overrides

BaseMyopMessage.constructor

Properties

cleanable

cleanable: boolean = false

Defined in: messages/BaseMessage.ts:44

Inherited from

BaseMyopMessage.cleanable


content?

optional content: any

Defined in: messages/BaseMessage.ts:32

Inherited from

BaseMyopMessage.content


destination?

optional destination: string

Defined in: messages/BaseMessage.ts:36

Inherited from

BaseMyopMessage.destination


direction?

optional direction: MessageDirectionOption

Defined in: messages/BaseMessage.ts:42

Inherited from

BaseMyopMessage.direction


id

id: string

Defined in: messages/BaseMessage.ts:14

Inherited from

BaseMyopMessage.id


messageType

messageType: string = 'SetAttributeMessage'

Defined in: messages/SetAttributeMessage.ts:6

Overrides

BaseMyopMessage.messageType


myop

myop: boolean = true

Defined in: messages/BaseMessage.ts:28

Inherited from

BaseMyopMessage.myop


name

name: string

Defined in: messages/SetAttributeMessage.ts:8


ref

ref: Ref

Defined in: messages/SetAttributeMessage.ts:8

Inherited from

BaseMyopMessage.ref


route?

optional route: string[]

Defined in: messages/BaseMessage.ts:38

Inherited from

BaseMyopMessage.route


source?

optional source: string

Defined in: messages/BaseMessage.ts:35

Inherited from

BaseMyopMessage.source


value

value: string

Defined in: messages/SetAttributeMessage.ts:8

Methods

isTypeof()

isTypeof(msg): boolean

Defined in: messages/BaseMessage.ts:46

Parameters

msg

BaseMyopMessage

Returns

boolean

Inherited from

BaseMyopMessage.isTypeof


create()

static create<T, U>(this, ...args): InstanceType<U>

Defined in: messages/BaseMessage.ts:16

Type Parameters

T

U extends (...args) => T = U

Parameters

this

U

args

...ConstructorParameters<U>

Returns

InstanceType<U>

Inherited from

BaseMyopMessage.create