Constructs a new MessageAssociation.
Optional
properties:
IMessageAssociation
Properties to set
Optional
associationMessageAssociation associationType.
Optional
messageMessageAssociation messageIndex.
Optional
parentMessageAssociation parentMessageKey.
Static
create
Creates a new MessageAssociation instance using the specified properties.
Optional
properties:
IMessageAssociation
Properties to set
MessageAssociation instance
Static
decode
Decodes a MessageAssociation message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
MessageAssociation
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a MessageAssociation message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
MessageAssociation
If the payload is not a reader or valid buffer
If required fields are missing
Static
encode
Encodes the specified MessageAssociation message. Does not implicitly verify messages.
MessageAssociation message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
encodeEncodes the specified MessageAssociation message, length delimited. Does not implicitly verify messages.
MessageAssociation message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
fromCreates a MessageAssociation message from a plain object. Also converts values to their respective internal types.
Plain object
MessageAssociation
Static
getStatic
toCreates a plain object from a MessageAssociation message. Also converts values to other types if specified.
MessageAssociation
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents a MessageAssociation.