public class GoogleTalkConnection extends XMPPConnection
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".
DEBUG_ENABLED
Constructor and Description |
---|
GoogleTalkConnection() |
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
public GoogleTalkConnection() throws XMPPException
XMPPException
Copyright © 2003 Jive Software.