OpenSim::Region::Environment::Modules::Agent::AssetTransaction::AssetXferUploader Class Reference

List of all members.

Public Member Functions

 AssetXferUploader (AgentAssetTransactions transactions, bool dumpAssetToFile)
bool HandleXferPacket (ulong xferID, uint packetID, byte[] data)
 Process transfer data received from the client.
bool Initialise (IClientAPI remoteClient, UUID assetID, UUID transaction, sbyte type, byte[] data, bool storeLocal, bool tempFile)
 Initialise asset transfer from the client.
void RequestCreateInventoryItem (IClientAPI remoteClient, UUID transactionID, UUID folderID, uint callbackID, string description, string name, sbyte invType, sbyte type, byte wearableType, uint nextOwnerMask)
AssetBase GetAssetData ()
 Get the asset data uploaded in this transfer.

Public Attributes

ulong XferID

Protected Member Functions

void RequestStartXfer ()
void SendCompleteMessage ()

Constructor & Destructor Documentation

OpenSim::Region::Environment::Modules::Agent::AssetTransaction::AssetXferUploader::AssetXferUploader ( AgentAssetTransactions  transactions,
bool  dumpAssetToFile 
) [inline]


Member Function Documentation

bool OpenSim::Region::Environment::Modules::Agent::AssetTransaction::AssetXferUploader::HandleXferPacket ( ulong  xferID,
uint  packetID,
byte[]  data 
) [inline]

Process transfer data received from the client.

Parameters:
xferID 
packetID 
data 
Returns:
True if the transfer is complete, false otherwise or if the xferID was not valid

bool OpenSim::Region::Environment::Modules::Agent::AssetTransaction::AssetXferUploader::Initialise ( IClientAPI  remoteClient,
UUID  assetID,
UUID  transaction,
sbyte  type,
byte[]  data,
bool  storeLocal,
bool  tempFile 
) [inline]

Initialise asset transfer from the client.

Parameters:
xferID 
packetID 
data 
Returns:
True if the transfer is complete, false otherwise

void OpenSim::Region::Environment::Modules::Agent::AssetTransaction::AssetXferUploader::RequestStartXfer (  )  [inline, protected]

void OpenSim::Region::Environment::Modules::Agent::AssetTransaction::AssetXferUploader::SendCompleteMessage (  )  [inline, protected]

void OpenSim::Region::Environment::Modules::Agent::AssetTransaction::AssetXferUploader::RequestCreateInventoryItem ( IClientAPI  remoteClient,
UUID  transactionID,
UUID  folderID,
uint  callbackID,
string  description,
string  name,
sbyte  invType,
sbyte  type,
byte  wearableType,
uint  nextOwnerMask 
) [inline]

AssetBase OpenSim::Region::Environment::Modules::Agent::AssetTransaction::AssetXferUploader::GetAssetData (  )  [inline]

Get the asset data uploaded in this transfer.

Returns:
null if the asset has not finished uploading


Member Data Documentation

ulong OpenSim::Region::Environment::Modules::Agent::AssetTransaction::AssetXferUploader::XferID


The documentation for this class was generated from the following file:
Generated on Fri Jan 9 01:00:48 2009 for OpenSim by  doxygen 1.5.1