C# Class Universe.Services.DataService.LocalUserStatsDataConnector

Inheritance: IUserStatsDataConnector
Mostra file Open project: Virtual-Universe/Virtual-Universe

Public Methods

Method Description
Dispose ( ) : void
Get ( string columnName ) : List
GetBySession ( UUID sessionID ) : ViewerStatsMessage
GetCount ( string columnName, object>.KeyValuePair whereCheck ) : int
Initialize ( IGenericData GenericData, IConfigSource source, IRegistryCore simBase, string defaultConnectionString ) : void
RemoveAllSessions ( ) : void
UpdateUserStats ( ViewerStatsMessage uid, UUID agentID, UUID regionID ) : void

Add/Update a user's stats in the database

ViewerUsage ( ) : int>.Dictionary

Private Methods

Method Description
BuildSession ( List results, int start ) : ViewerStatsMessage

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Get() public method

public Get ( string columnName ) : List
columnName string
return List

GetBySession() public method

public GetBySession ( UUID sessionID ) : ViewerStatsMessage
sessionID UUID
return OpenMetaverse.Messages.Linden.ViewerStatsMessage

GetCount() public method

public GetCount ( string columnName, object>.KeyValuePair whereCheck ) : int
columnName string
whereCheck object>.KeyValuePair
return int

Initialize() public method

public Initialize ( IGenericData GenericData, IConfigSource source, IRegistryCore simBase, string defaultConnectionString ) : void
GenericData IGenericData
source IConfigSource
simBase IRegistryCore
defaultConnectionString string
return void

RemoveAllSessions() public method

public RemoveAllSessions ( ) : void
return void

UpdateUserStats() public method

Add/Update a user's stats in the database
public UpdateUserStats ( ViewerStatsMessage uid, UUID agentID, UUID regionID ) : void
uid OpenMetaverse.Messages.Linden.ViewerStatsMessage
agentID UUID
regionID UUID
return void

ViewerUsage() public method

public ViewerUsage ( ) : int>.Dictionary
return int>.Dictionary