C# 클래스 Amazon.Runtime.Internal.UnityRequestQueue

A singleton which stores the list of pending web requests and pending callbacks. A singleton is used to maintain this state globally across multiple Unity scenes.
파일 보기 프로젝트 열기: aws/aws-sdk-net

공개 메소드들

메소드 설명
DequeueCallback ( ) : RuntimeAsyncResult

Dequeues an callback from the queue of pending callbacks that need to be invoked.

DequeueMainThreadOperation ( ) : System.Action
DequeueRequest ( ) : IUnityHttpRequest

Dequeues a request from the queue of pending requests.

EnqueueCallback ( RuntimeAsyncResult asyncResult ) : void

Enqueues a callback method that should be invoked on the main thread by the UnityMainThreadDispatcher.

EnqueueRequest ( IUnityHttpRequest request ) : void

Enqueues a request to be processed by the UnityMainThreadDispatcher. Unity

ExecuteOnMainThread ( System.Action action ) : void

Enqueue an anonymous method on main thread

비공개 메소드들

메소드 설명
UnityRequestQueue ( ) : System

The private contructor for the singleton class.

메소드 상세

DequeueCallback() 공개 메소드

Dequeues an callback from the queue of pending callbacks that need to be invoked.
public DequeueCallback ( ) : RuntimeAsyncResult
리턴 RuntimeAsyncResult

DequeueMainThreadOperation() 공개 메소드

public DequeueMainThreadOperation ( ) : System.Action
리턴 System.Action

DequeueRequest() 공개 메소드

Dequeues a request from the queue of pending requests.
public DequeueRequest ( ) : IUnityHttpRequest
리턴 IUnityHttpRequest

EnqueueCallback() 공개 메소드

Enqueues a callback method that should be invoked on the main thread by the UnityMainThreadDispatcher.
public EnqueueCallback ( RuntimeAsyncResult asyncResult ) : void
asyncResult RuntimeAsyncResult Instance of RuntimeAsyncResult that contains /// all the information about the callback.
리턴 void

EnqueueRequest() 공개 메소드

Enqueues a request to be processed by the UnityMainThreadDispatcher. Unity
public EnqueueRequest ( IUnityHttpRequest request ) : void
request IUnityHttpRequest An instance of UnityWebRequest.
리턴 void

ExecuteOnMainThread() 공개 메소드

Enqueue an anonymous method on main thread
public ExecuteOnMainThread ( System.Action action ) : void
action System.Action
리턴 void