All Methods Instance Methods Concrete Methods Modifier and Type Method Description
addToQueue(org.xmpp.packet.Packet stanza, MUCRole sender)Adds a stanza to be sent to the remote, joined MUC as soon as federation has been established.
purgeQueue()Retrieve and clean the list of stanzas that have been queued after federation was initiated, but before it was finished.
public org.xmpp.packet.JID getPeer()
public ArrayList<org.xmpp.packet.Packet> getResponses()
public CompletableFuture<?> addToQueue(@Nonnull org.xmpp.packet.Packet stanza, @Nonnull MUCRole sender)Adds a stanza to be sent to the remote, joined MUC as soon as federation has been established. This method is intended to be used only when federation is in progress of being established.
stanza- The stanza to share
sender- The author of the stanza
- A future, indicating if local distribution of the stanza needs to wait.
public List<org.jivesoftware.openfire.muc.spi.FMUCHandler.OutboundJoinProgress.QueuedStanza> purgeQueue()
- A list of queued stanzas (possibly empty).
public boolean isJoinComplete()
public boolean isRejected()
public String getRejectionMessage()
public boolean isSuccessful()