# wso2wsf::ReplayDetector Class Reference
[ReplayDetector]

class ReplayDetector Represents an interface needed implement any user specific replay detection logic. More...

`#include <ReplayDetector.h>`

List of all members.

## Public Member Functions
virtual bool | isValid (MessageContext *msgctx)=0
virtual | ~ReplayDetector ()
## Static Public Member Functions
static axis2_status_t | checkValidity (rampart_replay_detector_t *rrd, const axutil_env_t *env, axis2_msg_ctx_t *msg_ctx, rampart_context_t *rampart_context)

## Detailed Description

class ReplayDetector Represents an interface needed implement any user specific replay detection logic.

## Constructor & Destructor Documentation

virtual wso2wsf::ReplayDetector::~ReplayDetector | ( |  | ) | `[virtual]`

destructor that can be overridden.

## Member Function Documentation

static axis2_status_t wso2wsf::ReplayDetector::checkValidity | ( | rampart_replay_detector_t * | rrd,
|  | const axutil_env_t * | env,
|  | axis2_msg_ctx_t * | msg_ctx,
|  | rampart_context_t * | rampart_context |
| ) |  |  | `[static]`

Static Handler to be invoked to check whether it is a replay

virtual bool wso2wsf::ReplayDetector::isValid | ( | MessageContext * | msgctx | ) | `[pure virtual]`

Handler to be invoked to check whether the message is a replay Should return true if the message is valid. False if the message is a replay

The documentation for this class was generated from the following file:

- ReplayDetector.h