Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.googlecontacts
Interface GoogleContactsConnection

All Known Implementing Classes:
GoogleContactsConnectionImpl

public interface GoogleContactsConnection

Interface that define a Google Contacts connection.

Author:
Sebastien Vincent

Nested Class Summary
static class GoogleContactsConnection.ConnectionStatus
          Enumeration for connection status.
 
Method Summary
 GoogleContactsConnection.ConnectionStatus connect()
          Initialize connection.
 String getLogin()
          Get login.
 String getPassword()
          Get password.
 String getPrefix()
          Returns the google contacts prefix.
 void setLogin(String login)
          Set login.
 void setPassword(String password)
          Set password.
 

Method Detail

getLogin

String getLogin()
Get login.

Returns:
login to connect to the service

getPassword

String getPassword()
Get password.

Returns:
password to connect to the service

setLogin

void setLogin(String login)
Set login.

Parameters:
login - login to connect to the service

setPassword

void setPassword(String password)
Set password.

Parameters:
password - password to connect to the service

connect

GoogleContactsConnection.ConnectionStatus connect()
Initialize connection.

Returns:
connection status

getPrefix

String getPrefix()
Returns the google contacts prefix.

Returns:
the google contacts prefix

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.