Smack

org.jivesoftware.smack
Class GoogleTalkConnection

java.lang.Object
  extended by org.jivesoftware.smack.XMPPConnection
      extended by org.jivesoftware.smack.GoogleTalkConnection

public class GoogleTalkConnection
extends XMPPConnection

Convenience class to make it easier to connect to the Google Talk IM service. You can also use XMPPConnection to connect to Google Talk by specifying the server name, service name, and port.

After creating the connection, log in in using a Gmail username and password. For the Gmail address "jsmith@gmail.com", the username is "jsmith".

Author:
Matt Tucker

Field Summary
 
Fields inherited from class org.jivesoftware.smack.XMPPConnection
DEBUG_ENABLED
 
Constructor Summary
GoogleTalkConnection()
           
 
Method Summary
 
Methods inherited from class org.jivesoftware.smack.XMPPConnection
addConnectionListener, addConnectionListener, addPacketListener, addPacketWriterInterceptor, addPacketWriterListener, close, createChat, createGroupChat, createPacketCollector, getAccountManager, getConnectionID, getHost, getPort, getRoster, getSASLAuthentication, getServiceName, getUser, isAnonymous, isAuthenticated, isConnected, isSecureConnection, isUsingCompression, isUsingTLS, login, login, login, loginAnonymously, removeConnectionListener, removeConnectionListener, removePacketListener, removePacketWriterInterceptor, removePacketWriterListener, sendPacket
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleTalkConnection

public GoogleTalkConnection()
                     throws XMPPException
Throws:
XMPPException

Smack

Copyright © 2003 Jive Software.