Skip to main content

Class: MessageID

Constructors

constructor

new MessageID(streamId, streamPartition, timestamp, sequenceNumber, publisherId, msgChainId)

Parameters

NameType
streamIdStreamID
streamPartitionnumber
timestampnumber
sequenceNumbernumber
publisherIdEthereumAddress
msgChainIdstring

Properties

msgChainId

Readonly msgChainId: string


publisherId

Readonly publisherId: EthereumAddress


sequenceNumber

Readonly sequenceNumber: number


streamId

Readonly streamId: StreamID


streamPartition

Readonly streamPartition: number


timestamp

Readonly timestamp: number

Methods

getStreamPartID

getStreamPartID(): StreamPartID

Returns

StreamPartID


toMessageRef

toMessageRef(): MessageRef

Returns

MessageRef