Class ParticipantStatus

java.lang.Object
be.theking90000.mumble.controller.spaces.ParticipantStatus

public final class ParticipantStatus extends Object
Last complete status reported by the runtime for an owned participant.

This is observed state, not the desired ParticipantSpec. Revisions and publication generation are unsigned 64-bit values represented as Java longs.

  • Method Details

    • connected

      public boolean connected()
      Returns whether the participant currently has a materialized Mumble connection.
      Returns:
      current connection presence
    • appliedSpaceKey

      public Optional<SpaceKey> appliedSpaceKey()
      Returns the space placement most recently applied by the runtime.
      Returns:
      applied space, or empty if placement has not been applied
    • selfMute

      public boolean selfMute()
      Returns the self-mute state reported by the Mumble participant.
      Returns:
      reported self-mute state
    • selfDeaf

      public boolean selfDeaf()
      Returns the self-deaf state reported by the Mumble participant.
      Returns:
      reported self-deaf state
    • acceptedSpecRevision

      public long acceptedSpecRevision()
      Returns the latest participant specification revision accepted by the runtime.
      Returns:
      accepted specification revision
    • appliedSpecRevision

      public long appliedSpecRevision()
      Returns the latest accepted participant specification revision applied to runtime state.
      Returns:
      applied specification revision
    • publishedGeneration

      public long publishedGeneration()
      Returns the latest Mumble publication generation reported with this status.
      Returns:
      publication generation
    • applicationError

      public Optional<String> applicationError()
      Returns the current application error, if the accepted desired state could not be applied.
      Returns:
      application error description, or empty when no error is reported