mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-09 10:19:41 +02:00
Rename "PacketReplyTimeout" → "ReplyTimeout"
This commit is contained in:
parent
b5415fe841
commit
7c46f58c80
21 changed files with 88 additions and 32 deletions
|
@ -75,8 +75,8 @@ public class IoT {
|
|||
final XMPPTCPConnection dataThingConnection = new XMPPTCPConnection(dataThingConnectionConfiguration);
|
||||
final XMPPTCPConnection readingThingConnection = new XMPPTCPConnection(readingThingConnectionConfiguration);
|
||||
|
||||
dataThingConnection.setPacketReplyTimeout(TIMEOUT);
|
||||
readingThingConnection.setPacketReplyTimeout(TIMEOUT);
|
||||
dataThingConnection.setReplyTimeout(TIMEOUT);
|
||||
readingThingConnection.setReplyTimeout(TIMEOUT);
|
||||
|
||||
dataThingConnection.setUseStreamManagement(false);
|
||||
readingThingConnection.setUseStreamManagement(false);
|
||||
|
|
|
@ -89,7 +89,7 @@ public class TlsTest {
|
|||
|
||||
XMPPTCPConnection connection = new XMPPTCPConnection(builder.build());
|
||||
|
||||
connection.setPacketReplyTimeout(20000);
|
||||
connection.setReplyTimeout(20000);
|
||||
|
||||
try {
|
||||
connection.connect().login();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue