1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-09 09:09:38 +02:00

Rename "PacketReplyTimeout" → "ReplyTimeout"

This commit is contained in:
Florian Schmaus 2017-01-12 20:57:19 +01:00
parent b5415fe841
commit 7c46f58c80
21 changed files with 88 additions and 32 deletions

View file

@ -473,7 +473,7 @@ public final class Roster extends Manager {
}
protected boolean waitUntilLoaded() throws InterruptedException {
long waitTime = connection().getPacketReplyTimeout();
long waitTime = connection().getReplyTimeout();
long start = System.currentTimeMillis();
while (!isLoaded()) {
if (waitTime <= 0) {

View file

@ -75,7 +75,7 @@ public class RosterTest extends InitSmackIm {
rosterListener = new TestRosterListener();
roster = Roster.getInstanceFor(connection);
roster.addRosterListener(rosterListener);
connection.setPacketReplyTimeout(1000 * 60 * 5);
connection.setReplyTimeout(1000 * 60 * 5);
}
@After

View file

@ -61,7 +61,7 @@ public class SubscriptionPreApprovalTest extends InitSmackIm {
rosterListener = new TestRosterListener();
roster = Roster.getInstanceFor(connection);
roster.addRosterListener(rosterListener);
connection.setPacketReplyTimeout(1000 * 60 * 5);
connection.setReplyTimeout(1000 * 60 * 5);
}
@After