public static class FMUCHandler.OutboundJoinProgress extends Object implements Serializable
| Constructor and Description |
|---|
OutboundJoinProgress(org.xmpp.packet.JID peer,
CompletableFuture<List<org.xmpp.packet.Packet>> callback) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<?> |
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.
|
CompletableFuture<List<org.xmpp.packet.Packet>> |
getCallback() |
org.xmpp.packet.JID |
getPeer() |
String |
getRejectionMessage() |
ArrayList<org.xmpp.packet.Packet> |
getResponses() |
boolean |
isJoinComplete() |
boolean |
isRejected() |
boolean |
isSuccessful() |
List<org.jivesoftware.openfire.muc.spi.FMUCHandler.OutboundJoinProgress.QueuedStanza> |
purgeQueue()
Retrieve and clean the list of stanzas that have been queued after federation was initiated, but before it
was finished.
|
public OutboundJoinProgress(@Nonnull org.xmpp.packet.JID peer, @Nonnull CompletableFuture<List<org.xmpp.packet.Packet>> callback)
public org.xmpp.packet.JID getPeer()
public CompletableFuture<List<org.xmpp.packet.Packet>> getCallback()
public ArrayList<org.xmpp.packet.Packet> getResponses()
public CompletableFuture<?> addToQueue(@Nonnull org.xmpp.packet.Packet stanza, @Nonnull MUCRole sender)
stanza - The stanza to sharesender - The author of the stanzapublic List<org.jivesoftware.openfire.muc.spi.FMUCHandler.OutboundJoinProgress.QueuedStanza> purgeQueue()
public boolean isJoinComplete()
public boolean isRejected()
public String getRejectionMessage()
public boolean isSuccessful()
Copyright © 2003–2020 Ignite Realtime. All rights reserved.