rwsf::HttpSessionListenerrwsf::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.
The following table lists methods that are either non-standard or not supported in this release.
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.
void attributeAdded(const rwsf::HttpSessionBindingEvent & se);
Receives an event when a session adds an attribute.
void attributeRemoved(const rwsf::HttpSessionBindingEvent & se);
Receives an event when a session removes an attribute.
void attributeReplaced(const rwsf::HttpSessionBindingEvent & se);
Receives an event when a session replaces an attribute.
void sessionCreated(const rwsf::HttpSessionEvent & event);
Receives an event when the Agent creates a session.
void sessionDestroyed(const rwsf::HttpSessionEvent & event);
Receives an event when the Agent destroys a session.
© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.