public final class UserId
extends Object
client and server side class that allows the client or server to
retrieve the user's name from anywhere.
-
Method Summary
static long
static void
static void
static void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
buildUserId
public static UserId buildUserId()
-
-
setUserId
public static void setUserId(String userId,
long key,
String app)
-
setUserId
public static void setUserId(String userId,
long key)
-
-
getUserId
public static String getUserId()
-
getUserIDObj
public static UserId getUserIDObj()
-
getUserKey
public static long getUserKey()
-
getUserIdMap
public static Map getUserIdMap()
return the UserId map.
- Returns:
- the UserIdMap or null if no user id has been set.