C# Class Universe.Modules.WorldView.WorldViewRequestHandler

Inheritance: Universe.Framework.Servers.HttpServer.BaseRequestHandler
Exibir arquivo Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Property Type Description
m_RequestLock object
m_WorldViewModule WorldViewModule

Public Methods

Method Description
GetWorldView ( ) : byte[]

Generates a standard world view.

Handle ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
SendWorldView ( object>.Dictionary request ) : byte[]

Generates a world view from the supplied parameters.

WorldViewRequestHandler ( WorldViewModule fmodule, string rid ) : System

Protected Methods

Method Description
SaveCachedImage ( string regionUri, byte data ) : void

Saves the cached image.

Private Methods

Method Description
FindCachedWorldViewImage ( string name ) : byte[]

Finds the cached world view image.

Method Details

GetWorldView() public method

Generates a standard world view.
public GetWorldView ( ) : byte[]
return byte[]

Handle() public method

public Handle ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse Universe.Framework.Servers.HttpServer.Implementation.OSHttpResponse
return byte[]

SaveCachedImage() protected method

Saves the cached image.
protected SaveCachedImage ( string regionUri, byte data ) : void
regionUri string Region URI.
data byte Data.
return void

SendWorldView() public method

Generates a world view from the supplied parameters.
public SendWorldView ( object>.Dictionary request ) : byte[]
request object>.Dictionary parameters.
return byte[]

WorldViewRequestHandler() public method

public WorldViewRequestHandler ( WorldViewModule fmodule, string rid ) : System
fmodule WorldViewModule
rid string
return System

Property Details

m_RequestLock protected_oe property

protected object m_RequestLock
return object

m_WorldViewModule protected_oe property

protected WorldViewModule,Universe.Modules.WorldView m_WorldViewModule
return WorldViewModule