|
EAF 7.6 Implementation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lutris.appserver.server.sessionEnhydra.SessionThread
public class SessionThread
Represents a combination of a thread and a session key. A session must be associated with a thread of execution before a reference to the session can be obtained by the application. This object represents the existing thread to session association.
Field Summary | |
---|---|
java.lang.String |
sessionKey
|
java.lang.Thread |
thread
|
Constructor Summary | |
---|---|
SessionThread(java.lang.Thread thread,
java.lang.String sessionKey)
Creates an instance of a session-thread association. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object sessionThread)
Compares equality of two objects. |
int |
hashCode()
Returns the hashcode for this object. |
java.lang.String |
toString()
Returns string representation. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.Thread thread
public java.lang.String sessionKey
Constructor Detail |
---|
public SessionThread(java.lang.Thread thread, java.lang.String sessionKey)
thread
- the thread to associate with a session.sessionKey
- the session key.Method Detail |
---|
public boolean equals(java.lang.Object sessionThread)
equals
in class java.lang.Object
sessionThread
- the reference object with which
compare.public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
EAF 7.6 Implementation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |