Difference between revisions of "TransferRequest"

From Second Life Wiki
Jump to navigation Jump to search
Line 18: Line 18:
This message is only used by the [[Transfer Manager]] system.
This message is only used by the [[Transfer Manager]] system.


TransferID is a client-generated LLUUID. I suppose a decent way of generating this might be md5 ( asset_id + microtime() )
TransferID is a client-generated random LLUUID.


Source Types:
Source Types:
Line 38: Line 38:
Parameters:
Parameters:


I can't figure out what the values correspond to, however I can successfully fetch a TransferInfo reply by sending the following:
20 byte field. The first 16 bytes are the ASSET_KEY (AssetID), and the last four bytes are the ASSET_TYPE.
 
{{Code|14 00 ASSET_KEY ASSET_TYPE 00 00 00}}
 
I'm guessing the 14 00 might be a UInt16 length indicator (which is different from the standard variable specification which is represented as a UInt8. The three bytes at the end may be flags or padding. I've requested additional info from SLDev --[[User:Tomm Olifone|Tomm Olifone]] 18:57, 4 November 2008 (UTC)


[[Category:Messages]]
[[Category:Messages]]

Revision as of 15:42, 4 November 2008

Message Layout

{
	TransferRequest Low NotTrusted Zerocoded
	{
		TransferInfo		Single
		{	TransferID		LLUUID	}
		{	ChannelType		S32	}
		{	SourceType		S32	}
		{	Priority		F32	}
		{	Params			Variable	2	}
	}
}

Usage and Notes

This message is only used by the Transfer Manager system.

TransferID is a client-generated random LLUUID.

Source Types:

LLTST_UNKNOWN = 0
LLTST_FILE = 1
LLTST_ASSET = 2
LLTST_SIM_INV_ITEM = 3
LLTST_SIM_ESTATE = 4
LLTST_NUM_TYPES = 5

Channel Types:

LLTCT_UNKNOWN = 0
LLTCT_MISC = 1
LLTCT_ASSET = 2
LLTCT_NUM_TYPES = 3

Parameters:

20 byte field. The first 16 bytes are the ASSET_KEY (AssetID), and the last four bytes are the ASSET_TYPE.