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:
parent
b5415fe841
commit
7c46f58c80
21 changed files with 88 additions and 32 deletions
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue