com.bankframe.services.sessionmgmt
Class SessionManagementUtils

java.lang.Object
  extended bycom.bankframe.services.sessionmgmt.SessionManagementUtils

public class SessionManagementUtils
extends java.lang.Object

This class provides static methods to facilitate interactions with the Session Management mechanism.

Author:
ETU

Constructor Summary
SessionManagementUtils()
           
 
Method Summary
static java.lang.String getLogoffSessionId(DataPacket dp)
          Logoff requests contain the sessionId in a different field.
static java.lang.String getSessionId(DataPacket dp)
          Retrieve the sessionId from a DataPacket ( if present )
static java.lang.String getSessionId(java.util.Vector dataPackets)
           
static void putSessionId(DataPacket dp, java.lang.String sessionId)
          Add a sessionId to the specified DataPacket
static void putSessionId(java.util.Vector dataPackets, java.lang.String sessionId)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionManagementUtils

public SessionManagementUtils()
Method Detail

getLogoffSessionId

public static java.lang.String getLogoffSessionId(DataPacket dp)
Logoff requests contain the sessionId in a different field. This method retrieves the sessionId from a logoff request

Parameters:
dp - The logoff request to obtain the session id from
Returns:
String containing the sessionId

getSessionId

public static java.lang.String getSessionId(DataPacket dp)
Retrieve the sessionId from a DataPacket ( if present )

Parameters:
dp - DataPacket to obtain session id from
Returns:
String containing session id, or null if the DataPacket does not contain a session id

getSessionId

public static java.lang.String getSessionId(java.util.Vector dataPackets)

putSessionId

public static void putSessionId(DataPacket dp,
                                java.lang.String sessionId)
Add a sessionId to the specified DataPacket

Parameters:
dp - DataPacket to add sessionId to
sessionId - The session id

putSessionId

public static void putSessionId(java.util.Vector dataPackets,
                                java.lang.String sessionId)


Copyright © 2004 Siebel Systems, Inc. All rights reserved.