C# Class pGina.Plugin.SessionLimit.PluginImpl

Inheritance: IPluginConfiguration, IPluginEventNotifications
显示文件 Open project: MutonUfoAI/pgina

Public Methods

Method Description
Configure ( ) : void
LoginUserRequest ( string username ) : System.Boolean
LogoffRequestAddTime ( ) : System.Boolean
PluginImpl ( ) : System
SessionChange ( int SessionId, System Reason, SessionProperties properties ) : void
Starting ( ) : void
Stopping ( ) : void

Private Methods

Method Description
LogoffEvent ( int sessId ) : void
LogonEvent ( int sessId ) : void
SessionLimitTimerCallback ( object state ) : void
StartTimer ( ) : void
StopTimer ( ) : void

Method Details

Configure() public method

public Configure ( ) : void
return void

LoginUserRequest() public method

public LoginUserRequest ( string username ) : System.Boolean
username string
return System.Boolean

LogoffRequestAddTime() public method

public LogoffRequestAddTime ( ) : System.Boolean
return System.Boolean

PluginImpl() public method

public PluginImpl ( ) : System
return System

SessionChange() public method

public SessionChange ( int SessionId, System Reason, SessionProperties properties ) : void
SessionId int
Reason System
properties SessionProperties
return void

Starting() public method

public Starting ( ) : void
return void

Stopping() public method

public Stopping ( ) : void
return void