public final class SmackConfiguration
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static int |
getKeepAliveInterval()
Returns the number of milleseconds delay between sending keep-alive
requests to the server.
|
static int |
getPacketReplyTimeout()
Returns the number of milliseconds to wait for a response from
the server.
|
static java.lang.String |
getVersion()
Returns the Smack version information, eg "1.3.0".
|
static void |
setKeepAliveInterval(int interval)
Sets the number of milleseconds delay between sending keep-alive
requests to the server.
|
static void |
setPacketReplyTimeout(int timeout)
Sets the number of milliseconds to wait for a response from
the server.
|
public static java.lang.String getVersion()
public static int getPacketReplyTimeout()
public static void setPacketReplyTimeout(int timeout)
timeout
- the milliseconds to wait for a response from the serverpublic static int getKeepAliveInterval()
public static void setKeepAliveInterval(int interval)
interval
- the milliseconds to wait between keep-alive requests,
or -1 if no keep-alive should be sent.Copyright © 2003 Jive Software.