org.apache.catalina.ha.session
public class SessionMessageImpl extends ClusterMessageBase implements SessionMessage, Serializable
Version: $Revision: 531471 $ $Date: 2007-04-23 16:11:44 +0200 (Mon, 23 Apr 2007) $
Constructor Summary | |
---|---|
SessionMessageImpl() | |
SessionMessageImpl(String contextName, int eventtype, byte[] session, String sessionID, String uniqueID)
Creates a session message. |
Method Summary | |
---|---|
String | getContextName() |
int | getEventType()
returns the event type |
String | getEventTypeString()
clear text event type name (for logging purpose only) |
byte[] | getSession() |
String | getSessionID() |
long | getTimestamp() |
String | getUniqueId() |
void | setTimestamp(long time)
set message send time but only the first setting works (one shot) |
void | setUniqueId(String uniqueId) |
String | toString() |
Parameters: contextName - the name of the context (application eventtype - one of the 8 event type defined in this class session - the serialized byte array of the session itself sessionID - the id that identifies this session uniqueID - the id that identifies this message
Returns: one of the event types EVT_XXXX
Returns: the event type in a string representating, useful for debugging
Returns: the serialized data for the session
Returns: the session ID for the session