public class RosterUtil
extends java.lang.Object
| Constructor and Description |
|---|
RosterUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
waitUntilOtherEntityIsSubscribed(Roster roster,
org.jxmpp.jid.BareJid otherEntity,
java.util.Date deadline) |
static void |
waitUntilOtherEntityIsSubscribed(Roster roster,
org.jxmpp.jid.BareJid otherEntity,
long timeoutMillis) |
public static void waitUntilOtherEntityIsSubscribed(Roster roster, org.jxmpp.jid.BareJid otherEntity, long timeoutMillis) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
java.lang.InterruptedExceptionjava.util.concurrent.TimeoutExceptionpublic static void waitUntilOtherEntityIsSubscribed(Roster roster, org.jxmpp.jid.BareJid otherEntity, java.util.Date deadline) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
java.lang.InterruptedExceptionjava.util.concurrent.TimeoutException