# ReplayDetector.h File Reference

ReplayDetector class which defines the interface for user specific replay detection logic is defined here. More...

`#include <WSFDefines.h>`
`#include <string>`
`#include <MessageContext.h>`
`#include <rampart_replay_detector.h>`
`#include <Environment.h>`

Go to the source code of this file.

## Classes
class | wso2wsf::ReplayDetector
| class ReplayDetector Represents an interface needed implement any user specific replay detection logic. More...
struct | wsf_replay_detector
## Namespaces
namespace | wso2wsf
| namespace wso2wsf Namespace of WSO2 Web Services Framework.

## Defines
#define | WSF_REPLAY_DETECTOR_INIT(class_name)
## Typedefs
typedef struct wsf_replay_detector | wsf_replay_detector_t

## Detailed Description

ReplayDetector class which defines the interface for user specific replay detection logic is defined here.

## Define Documentation

#define WSF_REPLAY_DETECTOR_INIT | ( | class_name |  | ) |

Macro used to load the shared lib to the engine. The implementer should include this macro within the code, and provide the class extending from the ReplayDetector class as the argument for this macro for proper deployment and functioning of the replay detection callback.

## Typedef Documentation

typedef struct wsf_replay_detector wsf_replay_detector_t

stuct used to keep the information data for replay detection callback.