C# Class OpenStory.Server.Auth.AccountSession

Simple implementation of IAccountSession
Inheritance: IAccountSession
Afficher le fichier Open project: shoftee/OpenStory Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

TryKeepAlive() public méthode

public TryKeepAlive ( System.TimeSpan &lag ) : bool
lag System.TimeSpan
Résultat bool