C# Class OpenSim.Region.CoreModules.Agent.AssetTransaction.AssetXferUploader

Exibir arquivo Open project: N3X15/VoxelSim Class Usage Examples

Public Properties

Property Type Description
XferID ulong

Public Methods

Method Description
AssetXferUploader ( OpenSim.Region.CoreModules.Agent.AssetTransaction.AgentAssetTransactions transactions, bool dumpAssetToFile ) : System
GetAssetData ( ) : OpenSim.Framework.AssetBase

Get the asset data uploaded in this transfer.

HandleXferPacket ( ulong xferID, uint packetID, byte data ) : bool

Process transfer data received from the client.

Initialise ( IClientAPI remoteClient, UUID assetID, UUID transaction, sbyte type, byte data, bool storeLocal, bool tempFile ) : bool

Initialise asset transfer from the client

RequestCreateInventoryItem ( IClientAPI remoteClient, UUID transactionID, UUID folderID, uint callbackID, string description, string name, sbyte invType, sbyte type, byte wearableType, uint nextOwnerMask ) : void

Protected Methods

Method Description
RequestStartXfer ( ) : void
SendCompleteMessage ( ) : void

Private Methods

Method Description
DoCreateItem ( uint callbackID ) : void
SaveAssetToFile ( string filename, byte data ) : void

Method Details

AssetXferUploader() public method

public AssetXferUploader ( OpenSim.Region.CoreModules.Agent.AssetTransaction.AgentAssetTransactions transactions, bool dumpAssetToFile ) : System
transactions OpenSim.Region.CoreModules.Agent.AssetTransaction.AgentAssetTransactions
dumpAssetToFile bool
return System

GetAssetData() public method

Get the asset data uploaded in this transfer.
public GetAssetData ( ) : OpenSim.Framework.AssetBase
return OpenSim.Framework.AssetBase

HandleXferPacket() public method

Process transfer data received from the client.
public HandleXferPacket ( ulong xferID, uint packetID, byte data ) : bool
xferID ulong
packetID uint
data byte
return bool

Initialise() public method

Initialise asset transfer from the client
public Initialise ( IClientAPI remoteClient, UUID assetID, UUID transaction, sbyte type, byte data, bool storeLocal, bool tempFile ) : bool
remoteClient IClientAPI
assetID UUID
transaction UUID
type sbyte
data byte
storeLocal bool
tempFile bool
return bool

RequestCreateInventoryItem() public method

public RequestCreateInventoryItem ( IClientAPI remoteClient, UUID transactionID, UUID folderID, uint callbackID, string description, string name, sbyte invType, sbyte type, byte wearableType, uint nextOwnerMask ) : void
remoteClient IClientAPI
transactionID UUID
folderID UUID
callbackID uint
description string
name string
invType sbyte
type sbyte
wearableType byte
nextOwnerMask uint
return void

RequestStartXfer() protected method

protected RequestStartXfer ( ) : void
return void

SendCompleteMessage() protected method

protected SendCompleteMessage ( ) : void
return void

Property Details

XferID public_oe property

public ulong XferID
return ulong