Class: MessageRef
Constructors
constructor
• new MessageRef(timestamp
, sequenceNumber
)
Parameters
Name | Type |
---|---|
timestamp | number |
sequenceNumber | number |
Properties
sequenceNumber
• sequenceNumber: number
timestamp
• timestamp: number
Methods
clone
▸ clone(): MessageRef
Returns
compareTo
▸ compareTo(other
): number
Parameters
Name | Type |
---|---|
other | MessageRef |
Returns
number
serialize
▸ serialize(): string
Returns
string
toArray
▸ toArray(): any
[]
Returns
any
[]
fromArray
▸ Static
fromArray(arr
): MessageRef
Parameters
Name | Type |
---|---|
arr | any [] |