Terraria v1.4.4.9
Terraria source code documentation
|
Protected Member Functions | |
unsafe override void | Cleanup () |
void | ProtectedInvokeCallback (object result, IntPtr userToken) |
void | ProtectedInvokeCallback (object result, IntPtr userToken) |
void | ProtectedInvokeCallback (object result, IntPtr userToken) |
virtual void | Complete (IntPtr userToken) |
virtual void | Complete (IntPtr userToken) |
virtual void | Complete (IntPtr userToken) |
Package Functions | |
HttpResponseStreamAsyncResult (object asyncObject, object userState, AsyncCallback callback) | |
unsafe | HttpResponseStreamAsyncResult (object asyncObject, object userState, AsyncCallback callback, byte[] buffer, int offset, int size, bool chunked, bool sentHeaders, ThreadPoolBoundHandle boundHandle) |
void | IOCompleted (uint errorCode, uint numBytes) |
void | InvokeCallback (object result) |
void | InvokeCallback () |
void | InvokeCallback (object result) |
void | InvokeCallback () |
void | InvokeCallback (object result) |
void | InvokeCallback () |
object | InternalWaitForCompletion () |
object | InternalWaitForCompletion () |
object | InternalWaitForCompletion () |
void | InternalCleanup () |
Package Attributes | |
unsafe NativeOverlapped * | _pOverlapped |
bool | _sentHeaders |
Properties | |
ushort | dataChunkCount [get] |
unsafe global::Interop.HttpApi.HTTP_DATA_CHUNK * | pDataChunks [get] |
static ThreadContext | CurrentThreadContext [get] |
object | AsyncObject [get] |
object | AsyncState [get] |
WaitHandle | AsyncWaitHandle [get] |
bool | CompletedSynchronously [get] |
bool | IsCompleted [get] |
bool | InternalPeekCompleted [get] |
object | Result [get, set] |
bool | EndCalled [get, set] |
int | ErrorCode [get, set] |
AsyncCallback | AsyncCallback [get] |
Private Member Functions | |
bool | LazilyCreateEvent (out ManualResetEvent waitHandle) |
bool | LazilyCreateEvent (out ManualResetEvent waitHandle) |
bool | LazilyCreateEvent (out ManualResetEvent waitHandle) |
object | WaitForCompletion (bool snap) |
object | WaitForCompletion (bool snap) |
object | WaitForCompletion (bool snap) |
Static Private Member Functions | |
static byte[] | GetChunkHeader (int size, out int offset) |
static unsafe void | IOCompleted (HttpResponseStreamAsyncResult asyncResult, uint errorCode, uint numBytes) |
static unsafe void | Callback (uint errorCode, uint numBytes, NativeOverlapped *nativeOverlapped) |
static void | WorkerThreadComplete (object state) |
static void | WorkerThreadComplete (object state) |
static void | WorkerThreadComplete (object state) |
Private Attributes | |
readonly ThreadPoolBoundHandle | _boundHandle |
readonly global::Interop.HttpApi.HTTP_DATA_CHUNK[] | _dataChunks |
readonly object | _asyncObject |
readonly object | _asyncState |
AsyncCallback | _asyncCallback |
object | _result |
int | _errorCode |
int | _intCompleted |
bool | _endCalled |
bool | _userEvent |
object | _event |
Static Private Attributes | |
static unsafe readonly IOCompletionCallback | s_IOCallback = Callback |
static readonly byte[] | s_CRLFArray = new byte[2] { 13, 10 } |
static ThreadContext | t_threadContext |
Definition at line 6 of file HttpResponseStreamAsyncResult.cs.