org.jivesoftware.smack
Class GoogleTalkConnection
java.lang.Object
org.jivesoftware.smack.XMPPConnection
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
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 |
GoogleTalkConnection
public GoogleTalkConnection()
throws XMPPException
Copyright © 2003 Jive Software.