Class ChannelMessage<T>

java.lang.Object
io.superdurable.dex.ChannelMessage<T>
Type Parameters:
T - the decoded Channel value type

public final class ChannelMessage<T> extends Object
Identifies one typed value that is still pending in a Channel.
  • Method Details

    • getMessageId

      public String getMessageId()
      Returns the UUIDv7 assigned by Dex when the message was published.
      Returns:
      the server-assigned message ID
    • getValue

      public T getValue()
      Returns the decoded Channel value.
      Returns:
      the message value