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

Stores information about a current texture download and a reference to the texture asset More...

Collaboration diagram for OpenSim.Region.ClientStack.LindenUDP.J2KImage:
Collaboration graph
[legend]

Public Member Functions

 J2KImage (LLImageManager imageManager)
 
bool SendPackets (IClientAPI client, int packetsToSend, out int packetsSent)
 Sends packets for this texture to a client until packetsToSend is hit or the transfer completes More...
 
void RunUpdate ()
 This is where we decide what we need to update and assign the real discardLevel and packetNumber assuming of course that the connected client might be bonkers More...
 

Public Attributes

uint LastSequence
 
float Priority
 
uint StartPacket
 
sbyte DiscardLevel
 
UUID TextureID
 
IJ2KDecoder J2KDecoder
 
IAssetService AssetService
 
UUID AgentID
 
IInventoryAccessModule InventoryAccessModule
 
C5.IPriorityQueueHandle< J2KImagePriorityQueueHandle
 

Properties

bool IsDecoded [get, set]
 Has this request decoded the asset data? More...
 
bool HasAsset [get, set]
 Has this request received the required asset data? More...
 
long AssetRequestTime [get, set]
 Time in milliseconds at which the asset was requested. More...
 

Detailed Description

Stores information about a current texture download and a reference to the texture asset

Definition at line 43 of file J2KImage.cs.

Constructor & Destructor Documentation

OpenSim.Region.ClientStack.LindenUDP.J2KImage.J2KImage ( LLImageManager  imageManager)
inline

Definition at line 95 of file J2KImage.cs.

Member Function Documentation

void OpenSim.Region.ClientStack.LindenUDP.J2KImage.RunUpdate ( )
inline

This is where we decide what we need to update and assign the real discardLevel and packetNumber assuming of course that the connected client might be bonkers

Definition at line 145 of file J2KImage.cs.

bool OpenSim.Region.ClientStack.LindenUDP.J2KImage.SendPackets ( IClientAPI  client,
int  packetsToSend,
out int  packetsSent 
)
inline

Sends packets for this texture to a client until packetsToSend is hit or the transfer completes

Parameters
clientReference to the client that the packets are destined for
packetsToSendMaximum number of packets to send during this call
packetsSentNumber of packets sent during this call
Returns
True if the transfer completes at the current discard level, otherwise false

Definition at line 108 of file J2KImage.cs.

Member Data Documentation

UUID OpenSim.Region.ClientStack.LindenUDP.J2KImage.AgentID

Definition at line 66 of file J2KImage.cs.

IAssetService OpenSim.Region.ClientStack.LindenUDP.J2KImage.AssetService

Definition at line 65 of file J2KImage.cs.

sbyte OpenSim.Region.ClientStack.LindenUDP.J2KImage.DiscardLevel

Definition at line 62 of file J2KImage.cs.

IInventoryAccessModule OpenSim.Region.ClientStack.LindenUDP.J2KImage.InventoryAccessModule

Definition at line 67 of file J2KImage.cs.

IJ2KDecoder OpenSim.Region.ClientStack.LindenUDP.J2KImage.J2KDecoder

Definition at line 64 of file J2KImage.cs.

uint OpenSim.Region.ClientStack.LindenUDP.J2KImage.LastSequence

Definition at line 59 of file J2KImage.cs.

float OpenSim.Region.ClientStack.LindenUDP.J2KImage.Priority

Definition at line 60 of file J2KImage.cs.

C5.IPriorityQueueHandle<J2KImage> OpenSim.Region.ClientStack.LindenUDP.J2KImage.PriorityQueueHandle

Definition at line 85 of file J2KImage.cs.

uint OpenSim.Region.ClientStack.LindenUDP.J2KImage.StartPacket

Definition at line 61 of file J2KImage.cs.

UUID OpenSim.Region.ClientStack.LindenUDP.J2KImage.TextureID

Definition at line 63 of file J2KImage.cs.

Property Documentation

long OpenSim.Region.ClientStack.LindenUDP.J2KImage.AssetRequestTime
getset

Time in milliseconds at which the asset was requested.

Definition at line 83 of file J2KImage.cs.

bool OpenSim.Region.ClientStack.LindenUDP.J2KImage.HasAsset
getset

Has this request received the required asset data?

Definition at line 78 of file J2KImage.cs.

bool OpenSim.Region.ClientStack.LindenUDP.J2KImage.IsDecoded
getset

Has this request decoded the asset data?

Definition at line 73 of file J2KImage.cs.


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