OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Types | Public Member Functions | List of all members
OpenSim.Framework.BasicDOSProtector Class Reference

Public Types

enum  ThrottleAction { ThrottleAction.DoThrottledMethod, ThrottleAction.DoThrow }
 

Public Member Functions

 BasicDOSProtector (BasicDosProtectorOptions options)
 
bool IsBlocked (string key)
 Given a string Key, Returns if that context is blocked More...
 
bool Process (string key, string endpoint)
 Process the velocity of this context More...
 
void ProcessEnd (string key, string endpoint)
 

Detailed Description

Definition at line 35 of file BasicDOSProtector.cs.

Member Enumeration Documentation

Enumerator
DoThrottledMethod 
DoThrow 

Definition at line 37 of file BasicDOSProtector.cs.

Constructor & Destructor Documentation

OpenSim.Framework.BasicDOSProtector.BasicDOSProtector ( BasicDosProtectorOptions  options)
inline

Definition at line 51 of file BasicDOSProtector.cs.

Member Function Documentation

bool OpenSim.Framework.BasicDOSProtector.IsBlocked ( string  key)
inline

Given a string Key, Returns if that context is blocked

Parameters
keyA Key identifying the context
Returns
bool Yes or No, True or False for blocked

Definition at line 104 of file BasicDOSProtector.cs.

bool OpenSim.Framework.BasicDOSProtector.Process ( string  key,
string  endpoint 
)
inline

Process the velocity of this context

Parameters
key
endpoint
Returns

Definition at line 119 of file BasicDOSProtector.cs.

void OpenSim.Framework.BasicDOSProtector.ProcessEnd ( string  key,
string  endpoint 
)
inline

Definition at line 201 of file BasicDOSProtector.cs.


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