| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface defining a Collaboratio Session Provider. implementations of this interface are loaded by CollaborationSessionFactory.
| Method Summary | |
|  void | close()tells the provider to release any resources. | 
|  ApplicationInfo | getApplicationInfo() | 
|  CollaborationSession | getSession(java.lang.String serviceUrl,
           java.lang.String loginName,
           java.lang.String password,
           CollaborationSessionListener listener)creates a collaboration session. | 
|  void | register(java.lang.String serviceURL,
         RegistrationListener listener)registers the user with the server | 
|  void | setApplicationInfo(ApplicationInfo appinfo) | 
| Method Detail | 
public CollaborationSession getSession(java.lang.String serviceUrl,
                                       java.lang.String loginName,
                                       java.lang.String password,
                                       CollaborationSessionListener listener)
                                throws CollaborationException
serviceUrl - URL for the authentication service (hostname and port).loginName - login namepassword - user passwordlistener - session listener to convey asynchronous errors and events.
CollaborationException
public void register(java.lang.String serviceURL,
                     RegistrationListener listener)
              throws CollaborationException
serviceURL - hostname of the IM serverlistener - registration listener to convey 
 asynchronous registration events.
CollaborationException
public void setApplicationInfo(ApplicationInfo appinfo)
                        throws CollaborationException
CollaborationException
public ApplicationInfo getApplicationInfo()
                                   throws CollaborationException
CollaborationExceptionpublic void close()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||