ZNC  trunk
Public Member Functions | List of all members
CWebSession Class Reference

#include <WebModules.h>

Public Member Functions

 CWebSession (const CString &sId, const CString &sIP)
 
 ~CWebSession ()
 
 CWebSession (const CWebSession &)=delete
 
CWebSessionoperator= (const CWebSession &)=delete
 
const CStringGetId () const
 
const CStringGetIP () const
 
CUserGetUser () const
 
time_t GetLastActive () const
 
bool IsLoggedIn () const
 
bool IsAdmin () const
 
void UpdateLastActive ()
 
CUserSetUser (CUser *p)
 
void ClearMessageLoops ()
 
void FillMessageLoops (CTemplate &Tmpl)
 
size_t AddError (const CString &sMessage)
 
size_t AddSuccess (const CString &sMessage)
 

Constructor & Destructor Documentation

◆ CWebSession() [1/2]

CWebSession::CWebSession ( const CString sId,
const CString sIP 
)

◆ ~CWebSession()

CWebSession::~CWebSession ( )

◆ CWebSession() [2/2]

CWebSession::CWebSession ( const CWebSession )
delete

Member Function Documentation

◆ AddError()

size_t CWebSession::AddError ( const CString sMessage)

◆ AddSuccess()

size_t CWebSession::AddSuccess ( const CString sMessage)

◆ ClearMessageLoops()

void CWebSession::ClearMessageLoops ( )

◆ FillMessageLoops()

void CWebSession::FillMessageLoops ( CTemplate Tmpl)

◆ GetId()

const CString& CWebSession::GetId ( ) const
inline

◆ GetIP()

const CString& CWebSession::GetIP ( ) const
inline

◆ GetLastActive()

time_t CWebSession::GetLastActive ( ) const
inline

◆ GetUser()

CUser* CWebSession::GetUser ( ) const
inline

◆ IsAdmin()

bool CWebSession::IsAdmin ( ) const

◆ IsLoggedIn()

bool CWebSession::IsLoggedIn ( ) const
inline

◆ operator=()

CWebSession& CWebSession::operator= ( const CWebSession )
delete

◆ SetUser()

CUser* CWebSession::SetUser ( CUser p)
inline

◆ UpdateLastActive()

void CWebSession::UpdateLastActive ( )

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