C# Class Universe.Modules.Scripting.UrlModule

Inheritance: INonSharedRegionModule, IUrlModule
ファイルを表示 Open project: Virtual-Universe/Virtual-Universe

Public Methods

Method Description
AddRegion ( IScene scene ) : void
Close ( ) : void
GetFreeUrls ( ) : int
GetHttpHeader ( UUID requestId, string header ) : string
HttpRequestHandler ( UUID requestID, OSHttpRequest request ) : void
HttpResponse ( UUID request, int status, string body ) : void
Initialize ( IConfigSource config ) : void
ObjectRemoved ( UUID objectID ) : void
RegionLoaded ( IScene scene ) : void
ReleaseURL ( string url ) : void
RemoveRegion ( IScene scene ) : void
RequestSecureURL ( IScriptModule engine, ISceneChildEntity host, UUID itemID ) : UUID
RequestURL ( IScriptModule engine, ISceneChildEntity host, UUID itemID ) : UUID
ScriptRemoved ( UUID itemID ) : void
SetContentType ( UUID request, string content_type ) : void

Private Methods

Method Description
GetEvents ( UUID requestID, UUID sessionID, string req, OSHttpResponse response ) : byte[]
HasEvents ( UUID requestID, UUID sessionID ) : bool
NoEvents ( UUID requestID, UUID sessionID, OSHttpResponse response ) : byte[]
OnScriptReset ( uint localID, UUID itemID ) : void
RemoveUrl ( UrlData data ) : void

Method Details

AddRegion() public method

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

Close() public method

public Close ( ) : void
return void

GetFreeUrls() public method

public GetFreeUrls ( ) : int
return int

GetHttpHeader() public method

public GetHttpHeader ( UUID requestId, string header ) : string
requestId UUID
header string
return string

HttpRequestHandler() public method

public HttpRequestHandler ( UUID requestID, OSHttpRequest request ) : void
requestID UUID
request Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
return void

HttpResponse() public method

public HttpResponse ( UUID request, int status, string body ) : void
request UUID
status int
body string
return void

Initialize() public method

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

ObjectRemoved() public method

public ObjectRemoved ( UUID objectID ) : void
objectID UUID
return void

RegionLoaded() public method

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

ReleaseURL() public method

public ReleaseURL ( string url ) : void
url string
return void

RemoveRegion() public method

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

RequestSecureURL() public method

public RequestSecureURL ( IScriptModule engine, ISceneChildEntity host, UUID itemID ) : UUID
engine IScriptModule
host ISceneChildEntity
itemID UUID
return UUID

RequestURL() public method

public RequestURL ( IScriptModule engine, ISceneChildEntity host, UUID itemID ) : UUID
engine IScriptModule
host ISceneChildEntity
itemID UUID
return UUID

ScriptRemoved() public method

public ScriptRemoved ( UUID itemID ) : void
itemID UUID
return void

SetContentType() public method

public SetContentType ( UUID request, string content_type ) : void
request UUID
content_type string
return void