com.plumtree.server
Interface IPTStates


public interface IPTStates

This interface is a container for managing a collection of IPTState objects.


Method Summary
 void Add(int lMode, IPTState pState)
          Add an IPTState object to the collection.
 IPTState Get(int lMode)
          Retrieve an IPTState object from the collection.
 void Remove(int lMode)
          Remove an IPTState object from the collection.
 

Method Detail

Add

public void Add(int lMode,
                IPTState pState)
Add an IPTState object to the collection. At most one IPTState object can be stored per mode (Application-level state, Session-level state, Request-level state).
Parameters:
lMode - - The mode to associate with the IPTState object. Valid values are from the PT_STATEMODES enumeration: PT_STATEMODES.PT_STATEMODES_APPLICATION for application-level state PT_STATEMODES.PT_STATEMODES_SESSION for user session-level state PT_STATEMODES.PT_STATEMODES_REQUEST for request-level state
pState - - The IPTState object to add to the collection.

Remove

public void Remove(int lMode)
Remove an IPTState object from the collection.
Parameters:
lMode - - The mode of the IPTState object to remove.

Get

public IPTState Get(int lMode)
Retrieve an IPTState object from the collection.
Parameters:
lMode - - The mode of the IPTState object to retrieve.
Returns:
IPTState


Copyright © 2003 Plumtree Software Inc. All Rights Reserved.