edu.ucsb.cs.jicos.services
Class ClientProfile

java.lang.Object
  extended by edu.ucsb.cs.jicos.services.ClientProfile
All Implemented Interfaces:
java.io.Serializable

public final class ClientProfile
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Method Summary
 java.lang.String getDate()
          Get the date that the client accessed the Hsp.
 java.lang.String getDomainName()
          Get the domain name of the machine from which the client logged in to the Hsp.
 java.lang.String getIpAddress()
          Get the IP address of the machine from which the client logged in to the Hsp.
 long getLoginTime()
          The time on the Hsp that the client login command was processed.
 java.lang.String getUserName()
          Gets the user name associated with the client.
 java.lang.String toString()
          A string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getUserName

public java.lang.String getUserName()
Gets the user name associated with the client.

Returns:
The user name associated with the client (e.g., on Unix, this is the login name).

getDate

public java.lang.String getDate()
Get the date that the client accessed the Hsp.

Returns:
The date that the client accessed the Hsp.

getIpAddress

public java.lang.String getIpAddress()
Get the IP address of the machine from which the client logged in to the Hsp.

Returns:
The IP address of the machine from which the client logged in to the Hsp.

getDomainName

public java.lang.String getDomainName()
Get the domain name of the machine from which the client logged in to the Hsp.

Returns:
The domain name of the machine from which the client logged in to the Hsp.

getLoginTime

public long getLoginTime()
The time on the Hsp that the client login command was processed.

Returns:
The time on the Hsp that the client login command was processed.

toString

public java.lang.String toString()
A string representation of the object.

Overrides:
toString in class java.lang.Object
Returns:
userName + " at " + ipAddress + "(" + domainName + ") on " + date + " login time: " + loginTime


Jicos: http://cs.ucsb.edu/projects/jicos