org.walluck.oscar.components
Class SessionManager

java.lang.Object
  extended byorg.walluck.oscar.components.SessionManager

public class SessionManager
extends java.lang.Object

Describe class SessionManager here.

Since:
1.0
Version:
1.0
Author:
David Walluck

Constructor Summary
SessionManager()
           
 
Method Summary
static AIMSession connectWithNewSession(Oscar oscar, java.lang.String sn, java.lang.String password)
          Describe connectWithNewSession method here.
static AIMSession[] getSessions()
          Describe getSessions method here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionManager

public SessionManager()
Method Detail

connectWithNewSession

public static AIMSession connectWithNewSession(Oscar oscar,
                                               java.lang.String sn,
                                               java.lang.String password)
                                        throws java.io.IOException
Describe connectWithNewSession method here.

Parameters:
oscar - an Oscar value
sn - a String value
password - a String value
Returns:
an AIMSession value
Throws:
java.io.IOException - if an error occurs

getSessions

public static AIMSession[] getSessions()
Describe getSessions method here.

Returns:
an AIMSession[] value