mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-23 04:22:05 +01:00
Remove deprecated "PacketReplyTimeout" methods in SmackConfiguration
This commit is contained in:
parent
35cf094386
commit
f0300dc906
1 changed files with 0 additions and 24 deletions
|
@ -108,30 +108,6 @@ public final class SmackConfiguration {
|
||||||
return SmackInitialization.SMACK_VERSION;
|
return SmackInitialization.SMACK_VERSION;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the number of milliseconds to wait for a response from
|
|
||||||
* the server. The default value is 5000 ms.
|
|
||||||
*
|
|
||||||
* @return the milliseconds to wait for a response from the server
|
|
||||||
* @deprecated use {@link #getDefaultReplyTimeout()} instead.
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public static int getDefaultPacketReplyTimeout() {
|
|
||||||
return getDefaultReplyTimeout();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Sets the number of milliseconds to wait for a response from
|
|
||||||
* the server.
|
|
||||||
*
|
|
||||||
* @param timeout the milliseconds to wait for a response from the server
|
|
||||||
* @deprecated use {@link #setDefaultReplyTimeout(int)} instead.
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public static void setDefaultPacketReplyTimeout(int timeout) {
|
|
||||||
setDefaultReplyTimeout(timeout);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the number of milliseconds to wait for a response from
|
* Returns the number of milliseconds to wait for a response from
|
||||||
* the server. The default value is 5000 ms.
|
* the server. The default value is 5000 ms.
|
||||||
|
|
Loading…
Reference in a new issue