C# Class OpenStory.Server.Auth.AccountSession

Simple implementation of IAccountSession
Inheritance: IAccountSession
Exibir arquivo Open project: shoftee/OpenStory Class Usage Examples

Public Methods

Method Description
AccountSession ( IAccountService service, int sessionId, Account data ) : System

Initializes a new instance of the AccountSession class.

Dispose ( ) : void
TryKeepAlive ( System.TimeSpan &lag ) : bool

Method Details

AccountSession() public method

Initializes a new instance of the AccountSession class.
public AccountSession ( IAccountService service, int sessionId, Account data ) : System
service IAccountService The managing this session.
sessionId int The session identifier.
data OpenStory.Framework.Model.Common.Account The loaded session data.
return System

Dispose() public method

public Dispose ( ) : void
return void

TryKeepAlive() public method

public TryKeepAlive ( System.TimeSpan &lag ) : bool
lag System.TimeSpan
return bool