C# Class Universe.Services.InventoryCAPS

Inheritance: IExternalCapsRequestHandler
Mostrar archivo Open project: Virtual-Universe/Virtual-Universe

Public Methods

Method Description
CreateInventoryCategory ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
HandleFetchInventory ( Stream request, UUID agentID ) : byte[]
HandleFetchInventoryDescendents ( Stream request, UUID agentID ) : byte[]
HandleFetchLib ( Stream request, UUID agentID ) : byte[]
HandleFetchLibDescendents ( Stream request, UUID agentID ) : byte[]
IncomingCapsDestruction ( ) : void
IncomingCapsRequest ( UUID agentID, Framework region, ISimulationBase simbase, OSDMap &capURLs ) : void
NewAgentInventoryRequest ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]

This handles the uploading of some inventory types

NewAgentInventoryRequestVariablePrice ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
UploadCompleteHandler ( string assetName, string assetDescription, UUID assetID, UUID inventoryItem, UUID parentFolder, byte data, string inventoryType, string assetType, uint everyoneMask, uint groupMask, uint nextOwnerMask ) : UUID

Private Methods

Method Description
ChargeUser ( string assetType, OSDMap map ) : bool
ChargeUser ( string assetType, OSDMap map, int &charge, int &resourceCost ) : bool
InternalNewAgentInventoryRequest ( OSDMap map, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : OSDMap
InventoryCAPS ( ) : System

Method Details

CreateInventoryCategory() public method

public CreateInventoryCategory ( 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[]

HandleFetchInventory() public method

public HandleFetchInventory ( Stream request, UUID agentID ) : byte[]
request Stream
agentID UUID
return byte[]

HandleFetchInventoryDescendents() public method

public HandleFetchInventoryDescendents ( Stream request, UUID agentID ) : byte[]
request Stream
agentID UUID
return byte[]

HandleFetchLib() public method

public HandleFetchLib ( Stream request, UUID agentID ) : byte[]
request Stream
agentID UUID
return byte[]

HandleFetchLibDescendents() public method

public HandleFetchLibDescendents ( Stream request, UUID agentID ) : byte[]
request Stream
agentID UUID
return byte[]

IncomingCapsDestruction() public method

public IncomingCapsDestruction ( ) : void
return void

IncomingCapsRequest() public method

public IncomingCapsRequest ( UUID agentID, Framework region, ISimulationBase simbase, OSDMap &capURLs ) : void
agentID UUID
region Framework
simbase ISimulationBase
capURLs OSDMap
return void

NewAgentInventoryRequest() public method

This handles the uploading of some inventory types
public NewAgentInventoryRequest ( 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[]

NewAgentInventoryRequestVariablePrice() public method

public NewAgentInventoryRequestVariablePrice ( 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[]

UploadCompleteHandler() public method

public UploadCompleteHandler ( string assetName, string assetDescription, UUID assetID, UUID inventoryItem, UUID parentFolder, byte data, string inventoryType, string assetType, uint everyoneMask, uint groupMask, uint nextOwnerMask ) : UUID
assetName string
assetDescription string
assetID UUID
inventoryItem UUID
parentFolder UUID
data byte
inventoryType string
assetType string
everyoneMask uint
groupMask uint
nextOwnerMask uint
return UUID