com.andreani.xtol.util
Class SessionEntry
java.lang.Object
|
+--net.jini.entry.AbstractEntry
|
+--com.andreani.xtol.util.SessionEntry
- All Implemented Interfaces:
- Entry, Serializable
- public class SessionEntry
- extends AbstractEntry
This class is the Entry object contained into Session Spaces that stores
user state and his bound server address.
- Version:
- 1.0
- Author:
- Stefano Andreani
- See Also:
- Serialized Form
Field Summary |
Boolean |
fail
Fail is true if the server which was servicing has failed and the new one
assigned hasn't yet copied this session into its cache. |
String |
id
This is the Global Unique Id that identify user session. |
String |
serverAddr
The address of destination server |
Hashtable |
session
This Hashtable contains all objects representing user state. |
Method Summary |
String |
toString()
Formatted output, useful for debugging |
id
public String id
- This is the Global Unique Id that identify user session.
serverAddr
public String serverAddr
- The address of destination server
session
public Hashtable session
- This Hashtable contains all objects representing user state.
fail
public Boolean fail
- Fail is true if the server which was servicing has failed and the new one
assigned hasn't yet copied this session into its cache.
SessionEntry
public SessionEntry()
- Empty Constructor for the SessionEntry object
SessionEntry
public SessionEntry(String id_p,
String serverAddr_p,
Hashtable obj,
Boolean fail_p)
- Constructor for the SessionEntry object
- Parameters:
id_p
- Session GUIDserverAddr_p
- IP and portobj
- user statefail_p
- fail flag
toString
public String toString()
- Formatted output, useful for debugging
- Overrides:
toString
in class AbstractEntry
- Returns:
- String representation of this object
Copyright © 2001 Stefano Andreani - No Rights Reserved ;-)