OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Static Protected Member Functions | List of all members
OpenSim.Region.ClientStack.Linden.BunchOfCaps Class Reference

Public Member Functions

 BunchOfCaps (Scene scene, Caps caps)
 
void RegisterHandlers ()
 Register a bunch of CAPS http service handlers More...
 
void RegisterRegionServiceHandlers (string capsBase)
 
void RegisterInventoryServiceHandlers (string capsBase)
 
string SeedCapRequest (string request, string path, string param, IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
 Construct a client response detailing all the capabilities this server can provide. More...
 
string ScriptTaskInventory (string request, string path, string param, IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
 Called by the script task update handler. Provides a URL to which the client can upload a new asset. More...
 
void TaskScriptUpdated (UUID itemID, UUID primID, bool isScriptRunning, byte[] data, ref ArrayList errors)
 Called when new asset data for an agent inventory item update has been uploaded. More...
 
UUID ItemUpdated (UUID itemID, byte[] data)
 Called when new asset data for an agent inventory item update has been uploaded. More...
 
LLSDAssetUploadResponse NewAgentInventoryRequest (LLSDAssetUploadRequest llsdRequest)
 
void UploadCompleteHandler (string assetName, string assetDescription, UUID assetID, UUID inventoryItem, UUID parentFolder, byte[] data, string inventoryType, string assetType, int cost, UUID texturesFolder, int nreqtextures, int nreqmeshs, int nreqinstances, bool IsAtestUpload, ref string error)
 Convert raw uploaded data into the appropriate asset and item. More...
 
LLSDMapLayerResponse GetMapLayer (LLSDMapRequest mapReq)
 
string RequestTexture (string request, string path, string param)
 
string NoteCardAgentInventory (string request, string path, string param, IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
 Called by the notecard update handler. Provides a URL to which the client can upload a new asset. More...
 
string CopyInventoryFromNotecard (string request, string path, string param, IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
 Called by the CopyInventoryFromNotecard caps handler. More...
 
string GetObjectPhysicsData (string request, string path, string param, IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
 
string GetObjectCost (string request, string path, string param, IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
 
string ResourceCostSelected (string request, string path, string param, IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
 
string UpdateAgentInformation (string request, string path, string param, IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
 

Public Attributes

NewInventoryItem AddNewInventoryItem = null
 
NewAsset AddNewAsset = null
 
ItemUpdatedCallback ItemUpdatedCall = null
 
TaskScriptUpdatedCallback TaskScriptUpdatedCall = null
 
FetchInventoryDescendentsCAPS CAPSFetchInventoryDescendents = null
 
GetClientDelegate GetClient = null
 

Static Protected Member Functions

static OSDMapLayer GetOSDMapLayerResponse ()
 

Detailed Description

Definition at line 86 of file BunchOfCaps.cs.

Constructor & Destructor Documentation

OpenSim.Region.ClientStack.Linden.BunchOfCaps.BunchOfCaps ( Scene  scene,
Caps  caps 
)
inline

Definition at line 146 of file BunchOfCaps.cs.

Member Function Documentation

string OpenSim.Region.ClientStack.Linden.BunchOfCaps.CopyInventoryFromNotecard ( string  request,
string  path,
string  param,
IOSHttpRequest  httpRequest,
IOSHttpResponse  httpResponse 
)
inline

Called by the CopyInventoryFromNotecard caps handler.

Parameters
request
path
param

Definition at line 1337 of file BunchOfCaps.cs.

LLSDMapLayerResponse OpenSim.Region.ClientStack.Linden.BunchOfCaps.GetMapLayer ( LLSDMapRequest  mapReq)
inline

Parameters
mapReq
Returns

Definition at line 1246 of file BunchOfCaps.cs.

string OpenSim.Region.ClientStack.Linden.BunchOfCaps.GetObjectCost ( string  request,
string  path,
string  param,
IOSHttpRequest  httpRequest,
IOSHttpResponse  httpResponse 
)
inline

Definition at line 1432 of file BunchOfCaps.cs.

string OpenSim.Region.ClientStack.Linden.BunchOfCaps.GetObjectPhysicsData ( string  request,
string  path,
string  param,
IOSHttpRequest  httpRequest,
IOSHttpResponse  httpResponse 
)
inline

Definition at line 1401 of file BunchOfCaps.cs.

static OSDMapLayer OpenSim.Region.ClientStack.Linden.BunchOfCaps.GetOSDMapLayerResponse ( )
inlinestaticprotected

Returns

Definition at line 1258 of file BunchOfCaps.cs.

UUID OpenSim.Region.ClientStack.Linden.BunchOfCaps.ItemUpdated ( UUID  itemID,
byte[]  data 
)
inline

Called when new asset data for an agent inventory item update has been uploaded.

Parameters
itemIDItem to update
dataNew asset data
Returns

Definition at line 478 of file BunchOfCaps.cs.

LLSDAssetUploadResponse OpenSim.Region.ClientStack.Linden.BunchOfCaps.NewAgentInventoryRequest ( LLSDAssetUploadRequest  llsdRequest)
inline

Parameters
llsdRequest
Returns

Definition at line 493 of file BunchOfCaps.cs.

Here is the call graph for this function:

string OpenSim.Region.ClientStack.Linden.BunchOfCaps.NoteCardAgentInventory ( string  request,
string  path,
string  param,
IOSHttpRequest  httpRequest,
IOSHttpResponse  httpResponse 
)
inline

Called by the notecard update handler. Provides a URL to which the client can upload a new asset.

Parameters
request
path
param
Returns

Definition at line 1290 of file BunchOfCaps.cs.

Here is the call graph for this function:

void OpenSim.Region.ClientStack.Linden.BunchOfCaps.RegisterHandlers ( )
inline

Register a bunch of CAPS http service handlers

Definition at line 231 of file BunchOfCaps.cs.

void OpenSim.Region.ClientStack.Linden.BunchOfCaps.RegisterInventoryServiceHandlers ( string  capsBase)
inline

Definition at line 285 of file BunchOfCaps.cs.

void OpenSim.Region.ClientStack.Linden.BunchOfCaps.RegisterRegionServiceHandlers ( string  capsBase)
inline

Definition at line 239 of file BunchOfCaps.cs.

string OpenSim.Region.ClientStack.Linden.BunchOfCaps.RequestTexture ( string  request,
string  path,
string  param 
)
inline

Parameters
request
path
param
Returns

Definition at line 1275 of file BunchOfCaps.cs.

string OpenSim.Region.ClientStack.Linden.BunchOfCaps.ResourceCostSelected ( string  request,
string  path,
string  param,
IOSHttpRequest  httpRequest,
IOSHttpResponse  httpResponse 
)
inline

Definition at line 1480 of file BunchOfCaps.cs.

string OpenSim.Region.ClientStack.Linden.BunchOfCaps.ScriptTaskInventory ( string  request,
string  path,
string  param,
IOSHttpRequest  httpRequest,
IOSHttpResponse  httpResponse 
)
inline

Called by the script task update handler. Provides a URL to which the client can upload a new asset.

Parameters
request
path
param
httpRequestHTTP request header object
httpResponseHTTP response header object
Returns

Definition at line 400 of file BunchOfCaps.cs.

Here is the call graph for this function:

string OpenSim.Region.ClientStack.Linden.BunchOfCaps.SeedCapRequest ( string  request,
string  path,
string  param,
IOSHttpRequest  httpRequest,
IOSHttpResponse  httpResponse 
)
inline

Construct a client response detailing all the capabilities this server can provide.

Parameters
request
path
param
httpRequestHTTP request header object
httpResponseHTTP response header object
Returns

Definition at line 360 of file BunchOfCaps.cs.

void OpenSim.Region.ClientStack.Linden.BunchOfCaps.TaskScriptUpdated ( UUID  itemID,
UUID  primID,
bool  isScriptRunning,
byte[]  data,
ref ArrayList  errors 
)
inline

Called when new asset data for an agent inventory item update has been uploaded.

Parameters
itemIDItem to update
primIDPrim containing item to update
isScriptRunningSignals whether the script to update is currently running
dataNew asset data

Definition at line 462 of file BunchOfCaps.cs.

string OpenSim.Region.ClientStack.Linden.BunchOfCaps.UpdateAgentInformation ( string  request,
string  path,
string  param,
IOSHttpRequest  httpRequest,
IOSHttpResponse  httpResponse 
)
inline

Definition at line 1549 of file BunchOfCaps.cs.

void OpenSim.Region.ClientStack.Linden.BunchOfCaps.UploadCompleteHandler ( string  assetName,
string  assetDescription,
UUID  assetID,
UUID  inventoryItem,
UUID  parentFolder,
byte[]  data,
string  inventoryType,
string  assetType,
int  cost,
UUID  texturesFolder,
int  nreqtextures,
int  nreqmeshs,
int  nreqinstances,
bool  IsAtestUpload,
ref string  error 
)
inline

Convert raw uploaded data into the appropriate asset and item.

Parameters
assetID
inventoryItem
data

Definition at line 712 of file BunchOfCaps.cs.

Member Data Documentation

NewAsset OpenSim.Region.ClientStack.Linden.BunchOfCaps.AddNewAsset = null

Definition at line 113 of file BunchOfCaps.cs.

NewInventoryItem OpenSim.Region.ClientStack.Linden.BunchOfCaps.AddNewInventoryItem = null

Definition at line 112 of file BunchOfCaps.cs.

FetchInventoryDescendentsCAPS OpenSim.Region.ClientStack.Linden.BunchOfCaps.CAPSFetchInventoryDescendents = null

Definition at line 116 of file BunchOfCaps.cs.

GetClientDelegate OpenSim.Region.ClientStack.Linden.BunchOfCaps.GetClient = null

Definition at line 117 of file BunchOfCaps.cs.

ItemUpdatedCallback OpenSim.Region.ClientStack.Linden.BunchOfCaps.ItemUpdatedCall = null

Definition at line 114 of file BunchOfCaps.cs.

TaskScriptUpdatedCallback OpenSim.Region.ClientStack.Linden.BunchOfCaps.TaskScriptUpdatedCall = null

Definition at line 115 of file BunchOfCaps.cs.


The documentation for this class was generated from the following file: