Class ParticipantStatus
java.lang.Object
be.theking90000.mumble.controller.spaces.ParticipantStatus
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 Summary
Modifier and TypeMethodDescriptionlongReturns the latest participant specification revision accepted by the runtime.Returns the current application error, if the accepted desired state could not be applied.Returns the space placement most recently applied by the runtime.longReturns the latest accepted participant specification revision applied to runtime state.booleanReturns whether the participant currently has a materialized Mumble connection.longReturns the latest Mumble publication generation reported with this status.booleanselfDeaf()Returns the self-deaf state reported by the Mumble participant.booleanselfMute()Returns the self-mute state reported by the Mumble participant.
-
Method Details
-
connected
public boolean connected()Returns whether the participant currently has a materialized Mumble connection.- Returns:
- current connection presence
-
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
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
-