com.cafesoft.cams.session.control
Class SessionControlAction

java.lang.Object
  |
  +--com.cafesoft.cams.session.control.SessionControlAction

public class SessionControlAction
extends Object

Type safe enum for session control actions.

Since:
6/17/2002

Field Summary
static SessionControlAction CLOSE
          Represents the CLOSE action.
static SessionControlAction TOUCH
          Represents the TOUCH action.
static SessionControlAction UPDATE_ATTR
          Represents the UPDATE_ATTR action.
 
Method Summary
 String toString()
          Returns the name of this action.
static SessionControlAction valueOf(String name)
          Returns the SessionControlAction associated with the given name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLOSE

public static final SessionControlAction CLOSE
Represents the CLOSE action.


TOUCH

public static final SessionControlAction TOUCH
Represents the TOUCH action.


UPDATE_ATTR

public static final SessionControlAction UPDATE_ATTR
Represents the UPDATE_ATTR action.

Method Detail

valueOf

public static SessionControlAction valueOf(String name)
Returns the SessionControlAction associated with the given name. Valid values are: CLOSE, TOUCH, and UPDATE_ATTR

Parameters:
name - corresponds to a given SessionControlAction
Returns:
the SessionControlAction mapped to the specified name

toString

public String toString()
Returns the name of this action.

Overrides:
toString in class Object
Returns:
the name of this action


Generated on 10:40:31 AM September 10, 2003, © 1996-2003 Cafésoft LLC. All rights reserved.