com.aol.acc
Class AccInstance

java.lang.Object
  extended by com.aol.acc.AccBase
      extended by com.aol.acc.AccInstance

public class AccInstance
extends AccBase

The IAccInstance interface is used to get information about
all (other) clients that are signed on with the same identity.


Method Summary
 int getFlags()
          The user flags for the instance, from AccUserFlags
 int getId()
          Gets the instance's id.

 java.lang.String getIpAddress()
          The IP address of the instance, as seen by the AIM server
 int getOnlineTime()
          The online time of the instance, in seconds
 int getPort()
          The port of the instance, as seen by the AIM server
 AccUserState getState()
          The state of this instance
 
Methods inherited from class com.aol.acc.AccBase
compareHandle, equals
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getId

public int getId()
          throws AccException
Gets the instance's id.

Throws:
AccException

getState

public AccUserState getState()
                      throws AccException
The state of this instance

Throws:
AccException

getOnlineTime

public int getOnlineTime()
                  throws AccException
The online time of the instance, in seconds

Throws:
AccException

getIpAddress

public java.lang.String getIpAddress()
                              throws AccException
The IP address of the instance, as seen by the AIM server

Throws:
AccException

getPort

public int getPort()
            throws AccException
The port of the instance, as seen by the AIM server

Throws:
AccException

getFlags

public int getFlags()
             throws AccException
The user flags for the instance, from AccUserFlags

Throws:
AccException