rwsf::HttpSessionListener rwsf::EventListener
attributeAdded() attributeRemoved() |
attributeReplaced() sessionCreated() |
sessionDestroyed() ~HttpSessionListener() |
#include <rwsf/servlet/http/HttpSessionListener.h>
rwsf::HttpSessionListener is a base class for listeners that receive notification of HTTP session events. To create a listener, derive from this class and override the functions that receive the events of interest. To register a listener, include a deployment descriptor for the listener class in the configuration file of the context.
Table 5 lists methods that are either non-standard or not supported at this release.
Member | Description of Difference from Servlet Specification |
attributeAdded | added method. |
attributeRemoved | added method. |
attributeReplaced | added method. |
ValueBound() | Not included in this implementation. Replaced by functionality in added methods. |
ValueUnbound() | Not included in this implementation. Replaced by functionality in added methods. |
virtual ~HttpSessionListener();
Destructor.
virtual void attributeAdded(const rwsf::HttpSessionBindingEvent& evt);
Receives an event when a session adds an attribute.
virtual void attributeRemoved(const rwsf::HttpSessionBindingEvent& evt);
Receives an event when a session removes an attribute.
virtual void attributeReplaced(const rwsf::HttpSessionBindingEvent& evt);
Receives an event when a session replaces an attribute.
virtual void sessionCreated(const rwsf::HttpSessionEvent& evt);
Receives an event when the Agent creates a session.
virtual void sessionDestroyed(const rwsf::HttpSessionEvent& evt);
Receives an event when the Agent destroys a session.
©2004-2007 Copyright Quovadx, Inc. All Rights Reserved.
Quovadx and Rogue Wave are registered trademarks of Quovadx, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.