Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Net.BufferedReadStream.ReadAsyncResult Class Referencesealed

Protected Member Functions

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)
 
virtual void Cleanup ()
 
virtual void Cleanup ()
 
virtual void Cleanup ()
 

Package Functions

 ReadAsyncResult (BufferedReadStream parent, AsyncCallback callback, object state)
 
void Read (byte[] buffer, int offset, int count)
 
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 ()
 

Static Package Functions

static int End (IAsyncResult result)
 

Properties

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 void OnRead (IAsyncResult result)
 
static void WorkerThreadComplete (object state)
 
static void WorkerThreadComplete (object state)
 
static void WorkerThreadComplete (object state)
 

Private Attributes

readonly BufferedReadStream _parent
 
int _read
 
readonly object _asyncObject
 
readonly object _asyncState
 
AsyncCallback _asyncCallback
 
object _result
 
int _errorCode
 
int _intCompleted
 
bool _endCalled
 
bool _userEvent
 
object _event
 

Static Private Attributes

static readonly AsyncCallback s_onRead = OnRead
 
static ThreadContext t_threadContext
 

Detailed Description

Definition at line 9 of file BufferedReadStream.cs.


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