Jive API (4.5.7.0) Core Javadocs

com.jivesoftware.community.presence
Interface Presence

All Superinterfaces:
java.io.Serializable

public interface Presence
extends java.io.Serializable

A Presence encapsulates information relating to the owning user such as login time, status and last update time.


Method Summary
 java.lang.String getID()
          Returns the unique ID for this status.
 java.lang.String getIPAddress()
          Returns the IP address of the user.
 java.util.Date getLoginTime()
          Return the time when the presence was created.
 long getUserID()
          Return the user owning the presence.
 

Method Detail

getID

java.lang.String getID()
Returns the unique ID for this status. The ID in the default implmentation is the user's session ID, which is unique within a single JVM.

Returns:
the unique ID for the presence.

getUserID

long getUserID()
Return the user owning the presence.

Returns:
the presence owner.

getIPAddress

java.lang.String getIPAddress()
Returns the IP address of the user.

Returns:
the IP address of the user.

getLoginTime

java.util.Date getLoginTime()
Return the time when the presence was created.

Returns:
the time when the presence was created.

Jive Product Page

Copyright © 1999-2007 Jive Software.