|
| AssetXferUploader (AgentAssetTransactions transactions, Scene scene, UUID transactionID, bool dumpAssetToFile) |
| AssetXferUploader constructor More...
|
|
bool | HandleXferPacket (ulong xferID, uint packetID, byte[] data) |
| Process transfer data received from the client. More...
|
|
void | StartUpload (IClientAPI remoteClient, UUID assetID, UUID transaction, sbyte type, byte[] data, bool storeLocal, bool tempFile) |
| Start asset transfer from the client More...
|
|
void | RequestCreateInventoryItem (IClientAPI remoteClient, UUID folderID, uint callbackID, string description, string name, sbyte invType, sbyte type, byte wearableType, uint nextOwnerMask) |
|
void | RequestUpdateInventoryItem (IClientAPI remoteClient, InventoryItemBase item) |
|
void | RequestUpdateTaskInventoryItem (IClientAPI remoteClient, TaskInventoryItem taskItem) |
|
AssetBase | GetAssetData () |
| Get the asset data uploaded in this transfer. More...
|
|
void | SetOldData (byte[] d) |
|
Definition at line 42 of file AssetXferUploader.cs.
OpenSim.Region.CoreModules.Agent.AssetTransaction.AssetXferUploader.AssetXferUploader |
( |
AgentAssetTransactions |
transactions, |
|
|
Scene |
scene, |
|
|
UUID |
transactionID, |
|
|
bool |
dumpAssetToFile |
|
) |
| |
|
inline |
AssetXferUploader constructor
- Parameters
-
transactions | /param> - Parameters
-
scene | |
transactionID | |
dumpAssetToFile | If true then when the asset is uploaded it is dumped to a file with the format String.Format("{6}_{7}_{0:d2}{1:d2}{2:d2}_{3:d2}{4:d2}{5:d2}.dat", now.Year, now.Month, now.Day, now.Hour, now.Minute, now.Second, m_asset.Name, m_asset.Type); for debugging purposes. |
|
Definition at line 125 of file AssetXferUploader.cs.
AssetBase OpenSim.Region.CoreModules.Agent.AssetTransaction.AssetXferUploader.GetAssetData |
( |
| ) |
|
|
inline |
Get the asset data uploaded in this transfer.
- Returns
- null if the asset has not finished uploading
Definition at line 575 of file AssetXferUploader.cs.
bool OpenSim.Region.CoreModules.Agent.AssetTransaction.AssetXferUploader.HandleXferPacket |
( |
ulong |
xferID, |
|
|
uint |
packetID, |
|
|
byte[] |
data |
|
) |
| |
|
inline |
Process transfer data received from the client.
- Parameters
-
- Returns
- True if the transfer is complete, false otherwise or if the xferID was not valid
Definition at line 143 of file AssetXferUploader.cs.
void OpenSim.Region.CoreModules.Agent.AssetTransaction.AssetXferUploader.RequestCreateInventoryItem |
( |
IClientAPI |
remoteClient, |
|
|
UUID |
folderID, |
|
|
uint |
callbackID, |
|
|
string |
description, |
|
|
string |
name, |
|
|
sbyte |
invType, |
|
|
sbyte |
type, |
|
|
byte |
wearableType, |
|
|
uint |
nextOwnerMask |
|
) |
| |
|
inline |
void OpenSim.Region.CoreModules.Agent.AssetTransaction.AssetXferUploader.RequestStartXfer |
( |
| ) |
|
|
inlineprotected |
void OpenSim.Region.CoreModules.Agent.AssetTransaction.AssetXferUploader.RequestUpdateInventoryItem |
( |
IClientAPI |
remoteClient, |
|
|
InventoryItemBase |
item |
|
) |
| |
|
inline |
void OpenSim.Region.CoreModules.Agent.AssetTransaction.AssetXferUploader.RequestUpdateTaskInventoryItem |
( |
IClientAPI |
remoteClient, |
|
|
TaskInventoryItem |
taskItem |
|
) |
| |
|
inline |
void OpenSim.Region.CoreModules.Agent.AssetTransaction.AssetXferUploader.SendCompleteMessage |
( |
| ) |
|
|
inlineprotected |
void OpenSim.Region.CoreModules.Agent.AssetTransaction.AssetXferUploader.SetOldData |
( |
byte[] |
d | ) |
|
|
inline |
void OpenSim.Region.CoreModules.Agent.AssetTransaction.AssetXferUploader.StartUpload |
( |
IClientAPI |
remoteClient, |
|
|
UUID |
assetID, |
|
|
UUID |
transaction, |
|
|
sbyte |
type, |
|
|
byte[] |
data, |
|
|
bool |
storeLocal, |
|
|
bool |
tempFile |
|
) |
| |
|
inline |
Start asset transfer from the client
- Parameters
-
remoteClient | |
assetID | |
transaction | |
type | |
data | Optional data. If present then the asset is created immediately with this data rather than requesting an upload from the client. The data must be longer than 2 bytes. |
storeLocal | |
tempFile | |
Definition at line 199 of file AssetXferUploader.cs.
ulong OpenSim.Region.CoreModules.Agent.AssetTransaction.AssetXferUploader.XferID |
The documentation for this class was generated from the following file: