C# Class Universe.Modules.ObjectCache.ObjectCacheModule

Inheritance: INonSharedRegionModule, IObjectCache
Show file Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Property Type Description
m_Enabled bool

Public Methods

Method Description
AddCachedObject ( UUID AgentID, uint localID, uint CRC ) : void
AddRegion ( IScene scene ) : void
Close ( ) : void
DeserializeAgentCache ( string osdMap ) : uint>.Dictionary
Initialize ( IConfigSource source ) : void
LoadFileOnNewClient ( object o ) : void

Load the file for the client async so that we don't lock up the system for too long

LoadFromFileForClient ( UUID AgentID ) : void
OnClosingClient ( IClientAPI client ) : void
OnNewClient ( IClientAPI client ) : void
PostInitialize ( ) : void
RegionLoaded ( IScene scene ) : void
RemoveObject ( UUID AgentID, uint localID, byte cacheMissType ) : void
RemoveRegion ( IScene scene ) : void
SaveToFileForClient ( UUID AgentID ) : void
SerializeAgentCache ( uint>.Dictionary cache ) : string
UseCachedObject ( UUID AgentID, uint localID, uint CurrentEntityCRC ) : bool

Check whether we can send a CachedObjectUpdate to the client

Method Details

AddCachedObject() public method

public AddCachedObject ( UUID AgentID, uint localID, uint CRC ) : void
AgentID UUID
localID uint
CRC uint
return void

AddRegion() public method

public AddRegion ( IScene scene ) : void
scene IScene
return void

Close() public method

public Close ( ) : void
return void

DeserializeAgentCache() public method

public DeserializeAgentCache ( string osdMap ) : uint>.Dictionary
osdMap string
return uint>.Dictionary

Initialize() public method

public Initialize ( IConfigSource source ) : void
source IConfigSource
return void

LoadFileOnNewClient() public method

Load the file for the client async so that we don't lock up the system for too long
public LoadFileOnNewClient ( object o ) : void
o object
return void

LoadFromFileForClient() public method

public LoadFromFileForClient ( UUID AgentID ) : void
AgentID UUID
return void

OnClosingClient() public method

public OnClosingClient ( IClientAPI client ) : void
client IClientAPI
return void

OnNewClient() public method

public OnNewClient ( IClientAPI client ) : void
client IClientAPI
return void

PostInitialize() public method

public PostInitialize ( ) : void
return void

RegionLoaded() public method

public RegionLoaded ( IScene scene ) : void
scene IScene
return void

RemoveObject() public method

public RemoveObject ( UUID AgentID, uint localID, byte cacheMissType ) : void
AgentID UUID
localID uint
cacheMissType byte
return void

RemoveRegion() public method

public RemoveRegion ( IScene scene ) : void
scene IScene
return void

SaveToFileForClient() public method

public SaveToFileForClient ( UUID AgentID ) : void
AgentID UUID
return void

SerializeAgentCache() public method

public SerializeAgentCache ( uint>.Dictionary cache ) : string
cache uint>.Dictionary
return string

UseCachedObject() public method

Check whether we can send a CachedObjectUpdate to the client
public UseCachedObject ( UUID AgentID, uint localID, uint CurrentEntityCRC ) : bool
AgentID UUID
localID uint
CurrentEntityCRC uint
return bool

Property Details

m_Enabled protected property

protected bool m_Enabled
return bool