edu.vt.marian.server
Class session_table_entry

java.lang.Object
  |
  +--edu.vt.marian.server.session_table_entry

public class session_table_entry
extends java.lang.Object

class name: session_table_entry class description: this class represents an entry in the session table, it has three elements: client id, user id and session. uses the services of class(es): designer(s): Jianxin Zhao (jxzhao@csgrad.cs.vt.edu) implementator(s): Ning Chai (nchai@csgrad.cs.vt.edu) finished time: Nov 26th, 1998 known bugs: JDK version: 1.1.5 side effects:


Field Summary
static int OK
           
 
Constructor Summary
session_table_entry(int client_id, int user_id, session s, edu.vt.marian.common.Debug debug)
          method description: this constructor will create a session table entry object based on the client id, user id and session object.
 
Method Summary
 int get_client_id()
          method description: this method will return the client id of this object uses the services of class(es): none input parameter(s): none output parameter(s): none return value: the client id of this object as an integer synchronization: none
 session get_session()
          method description: this method will return the session object of this object uses the services of class(es): none input parameter(s): none output parameter(s): none return value: the sesson object of this object synchronization: none
 int get_user_id()
          method description: this method will return the user id of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OK

public static final int OK
Constructor Detail

session_table_entry

public session_table_entry(int client_id,
                           int user_id,
                           session s,
                           edu.vt.marian.common.Debug debug)
method description: this constructor will create a session table entry object based on the client id, user id and session object. uses the services of class(es): none input parameter(s): client_id -- this is the first element of this object user_id -- this is the second element of this object sesson -- this is the third element of this object debug -- used for debugging output parameter(s): none return value: none synchronization: none
Method Detail

get_client_id

public int get_client_id()
method description: this method will return the client id of this object uses the services of class(es): none input parameter(s): none output parameter(s): none return value: the client id of this object as an integer synchronization: none

get_user_id

public int get_user_id()
method description: this method will return the user id of this object. uses the services of class(es): none input parameter(s): none output parameter(s): none return value: the user id of this object as an integer synchronization: none

get_session

public session get_session()
method description: this method will return the session object of this object uses the services of class(es): none input parameter(s): none output parameter(s): none return value: the sesson object of this object synchronization: none