C# 클래스 Universe.Services.AssetCAPS

상속: IExternalCapsRequestHandler
파일 보기 프로젝트 열기: Virtual-Universe/Virtual-Universe

보호된 프로퍼티들

프로퍼티 타입 설명
REDIRECT_URL string
m_AgentID UUID
m_assetService IAssetService
m_j2kDecoder IJ2KDecoder

공개 메소드들

메소드 설명
BakedTextureUploaded ( byte data, UUID &newAssetID ) : void
IncomingCapsDestruction ( ) : void
IncomingCapsRequest ( UUID agentID, Framework region, ISimulationBase simbase, OSDMap &capURLs ) : void
ProcessGetMesh ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
UploadBakedTexture ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]

비공개 메소드들

메소드 설명
ConvertTextureData ( AssetBase texture, string format ) : byte[]
FetchTexture ( OSHttpRequest httpRequest, OSHttpResponse httpResponse, UUID textureID, string format, byte &response ) : bool

GetEncoderInfo ( string mimeType ) : System.Drawing.Imaging.ImageCodecInfo
ProcessGetTexture ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
TryParseRange ( string header, int &start, int &end ) : bool

* Parse a range header. *

* As per http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html, * this obeys range headers with two values (e.g. 533-4165) and no second value (e.g. 533-). * Where there is no value, -1 is returned. Also handles a range like (-4165) where -1 is * returned for the starting value.

WriteTextureData ( OSHttpRequest request, OSHttpResponse response, AssetBase texture, string format ) : byte[]

메소드 상세

BakedTextureUploaded() 공개 메소드

public BakedTextureUploaded ( byte data, UUID &newAssetID ) : void
data byte
newAssetID UUID
리턴 void

IncomingCapsDestruction() 공개 메소드

public IncomingCapsDestruction ( ) : void
리턴 void

IncomingCapsRequest() 공개 메소드

public IncomingCapsRequest ( UUID agentID, Framework region, ISimulationBase simbase, OSDMap &capURLs ) : void
agentID UUID
region Framework
simbase ISimulationBase
capURLs OSDMap
리턴 void

ProcessGetMesh() 공개 메소드

public ProcessGetMesh ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse Universe.Framework.Servers.HttpServer.Implementation.OSHttpResponse
리턴 byte[]

UploadBakedTexture() 공개 메소드

public UploadBakedTexture ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse Universe.Framework.Servers.HttpServer.Implementation.OSHttpResponse
리턴 byte[]

프로퍼티 상세

REDIRECT_URL 보호되어 있는 프로퍼티

protected string REDIRECT_URL
리턴 string

m_AgentID 보호되어 있는 프로퍼티

protected UUID m_AgentID
리턴 UUID

m_assetService 보호되어 있는 프로퍼티

protected IAssetService m_assetService
리턴 IAssetService

m_j2kDecoder 보호되어 있는 프로퍼티

protected IJ2KDecoder m_j2kDecoder
리턴 IJ2KDecoder