public class SessionId extends TransferableObject implements Renderable, java.lang.Comparable
Modifier | Constructor and Description |
---|---|
|
SessionId(ServerConnection srvConn,
java.lang.String serverName,
java.lang.String applicationName)
Constructor for creating a client session
|
protected |
SessionId(ServerHost serverHost,
java.lang.String applicationName)
Constructor for creating a pseudo session for a not connected Co-Client
|
protected |
SessionId(java.lang.String serverName)
Constructor for creating a pseudo session which represents the server itself
|
Modifier and Type | Method and Description |
---|---|
SessionId |
clone() |
int |
compareTo(java.lang.Object o) |
SessionId |
deepClone()
Returns a deep clone of this object
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationName()
Returns the name of the client.
|
java.lang.String |
getHostAddress() |
java.lang.String |
getHostName() |
java.awt.Color |
getRenderColor() |
javax.swing.Icon |
getRenderIcon() |
java.lang.String |
getRenderText() |
java.lang.String |
getServerName()
Returns the name of the server this client is connected to
|
java.lang.String |
getSessionInfo() |
int |
getSID() |
int |
getUID() |
java.lang.String |
getUrlId() |
UserId |
getUserId() |
java.lang.String |
getUserInfo() |
java.lang.String |
getUserName() |
java.lang.String |
getWebId() |
int |
hashCode() |
boolean |
isAdmin() |
boolean |
isLoggedIn() |
void |
setUserId(UserId userId) |
DumpString |
toDumpString(DumpString s)
This method allows subclasses to add values to the existing DumpString of the superclass.
|
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
protected SessionId(java.lang.String serverName)
protected SessionId(ServerHost serverHost, java.lang.String applicationName)
public SessionId(ServerConnection srvConn, java.lang.String serverName, java.lang.String applicationName)
public final java.lang.String getApplicationName()
public SessionId clone()
clone
in class TransferableObject
public SessionId deepClone()
DeepCloneable
deepClone
in interface DeepCloneable
deepClone
in class TransferableObject
public final java.lang.String getServerName()
public final java.lang.String getHostAddress()
public final java.lang.String getHostName()
public final int getSID()
public final java.lang.String getUrlId()
public final boolean isLoggedIn()
public final boolean isAdmin()
public final java.lang.String getUserName()
public final int getUID()
public final UserId getUserId()
public final void setUserId(UserId userId)
public final java.lang.String getWebId()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public java.lang.String getSessionInfo()
public java.lang.String getUserInfo()
public javax.swing.Icon getRenderIcon()
getRenderIcon
in interface Renderable
public java.lang.String getRenderText()
getRenderText
in interface Renderable
public java.awt.Color getRenderColor()
getRenderColor
in interface Renderable
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
public ToString toString(ToString s)
Dumpable
toString
in interface Dumpable
toString
in class DumpableObject
public DumpString toDumpString(DumpString s)
Dumpable
toDumpString
in interface Dumpable
toDumpString
in class DumpableObject
Copyright © 2014 EsprIT-Systems. All Rights Reserved.