|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.lokan.gmlib.GMSession
public class GMSession
This class represents a GM session.
All operations within this library requires a GMSession instance.
Note: The class has no "keep alive" functionality so inactive sessions could be terminated
on the google side (cookie expires).
| Constructor Summary | |
|---|---|
GMSession(java.lang.String username,
java.lang.String password)
Creates a new instance of GMSession and performs a login. |
|
GMSession(java.lang.String username,
java.lang.String password,
Proxy proxy)
Creates a new instance of GMSession and performs a login. |
|
| Method Summary | |
|---|---|
void |
logout()
Performs a logout. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GMSession(java.lang.String username,
java.lang.String password)
GMSession and performs a login.
username - Username to authenticate with.password - Password to autenticate with.
GMException - Throws exception if authentication fails for some reason.
public GMSession(java.lang.String username,
java.lang.String password,
Proxy proxy)
GMSession and performs a login.
username - Username to authenticate with.password - Password to autenticate with.proxy - Proxy to use.
GMException - Throws exception if authentication fails for some reason.| Method Detail |
|---|
public void logout()
GMException - Throws exception if logout fails for some reason.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||