Smack

org.jivesoftware.smack
Class SmackConfiguration

java.lang.Object
  extended byorg.jivesoftware.smack.SmackConfiguration

public final class SmackConfiguration
extends Object

Represents the configuration of Smack. The configuration is used for:

Author:
Gaston Dombiak

Method Summary
static int getPacketReplyTimeout()
          Returns the number of milliseconds to wait for a response from the server.
static String getVersionNumber()
          Returns the current Smack release version.
static void setPacketReplyTimeout(int timeout)
          Sets the number of milliseconds to wait for a response from the server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getVersionNumber

public static String getVersionNumber()
Returns the current Smack release version.

Returns:
the current Smack release version number

getPacketReplyTimeout

public static int getPacketReplyTimeout()
Returns the number of milliseconds to wait for a response from the server.

Returns:
the milliseconds to wait for a response from the server

setPacketReplyTimeout

public static void setPacketReplyTimeout(int timeout)
Sets the number of milliseconds to wait for a response from the server.

Parameters:
timeout - the milliseconds to wait for a response from the server

Smack

Copyright © 2003 Jive Software.