ReplicaNet and RNLobby
1
|
#include <Security.h>
Public Member Functions | |
Security (const char *lobbyDSN) | |
bool | Start (void) |
bool | Stop (void) |
int | GetTotalNumBlocked (void) |
void | SetSecurityRoute (const char *securityRoute) |
void | SetMaxCurrentBlocks (const int maxCurrentBlocks=1000) |
void | RemoveAllBlocksNow (void) |
![]() | |
ThreadClass () | |
virtual | ~ThreadClass () |
void | Sleep (int milliseconds) |
![]() | |
MutexClass () | |
virtual | ~MutexClass () |
void | Lock (void) |
void | UnLock (void) |
![]() | |
Thread () | |
virtual | ~Thread () |
void | Begin (ThreadClass *threaded_class) |
void | Terminate (void) |
bool | GetTerminated (void) |
bool | GetEverTerminated (void) |
bool | GetIsRunning (void) const |
void | SetPreferredProcessor (int processor=kReplicaNetPreferredProcessorOSChoice) |
int | GetPreferredProcessor (void) |
Static Public Member Functions | |
static int | GetNumBlockedThisSession (void) |
![]() | |
static int | CallThreadEntry (ThreadClass *thread_class) |
static int | GetCurrentProcessorNumber (void) |
static size_t | GetNumAllocated (void) |
static size_t | GetNumActive (void) |
Protected Member Functions | |
int | ThreadEntry (void) |
![]() | |
void | DoQuitNow (const int returnCode) |
void | CheckQuit (void) |
Additional Inherited Members | |
![]() | |
enum | { kNoOwnerThread = -1 } |
![]() | |
static size_t | GetNumAllocated (void) |
This class implements a security service that will detect typical intrusion attempts and mitigate them:
|
protectedvirtual |
The thread starts executing from here.
Implements ThreadClass.