terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs Class Referencesealed
+ Inheritance diagram for System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs:
+ Collaboration diagram for System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs:

Public Member Functions

 AwaitableSocketAsyncEventArgs ()
 
bool Reserve ()
 
ValueTask< int > ReceiveAsync (Socket socket)
 
ValueTask SendAsyncForNetworkStream (Socket socket)
 
ValueTaskSourceStatus GetStatus (short token)
 
void OnCompleted (Action< object > continuation, object state, short token, ValueTaskSourceOnCompletedFlags flags)
 
int GetResult (short token)
 
void Dispose ()
 
void SetBuffer (Memory< byte > buffer)
 
void OnCompleted (global::System.Action< object > continuation, object state, short token, ValueTaskSourceOnCompletedFlags flags)
 
void OnCompleted (global::System.Action< object > continuation, object state, short token, ValueTaskSourceOnCompletedFlags flags)
 

Static Public Attributes

static readonly global::System.EventArgs Empty
 

Protected Member Functions

override void OnCompleted (SocketAsyncEventArgs _)
 
override void Finalize ()
 

Package Functions

void SetBytesTransferred (int value)
 
void SetCurrentSocket (Socket socket)
 
void SetLastOperation (SocketAsyncOperation op)
 
void Complete_internal ()
 

Package Attributes

int in_progress
 
SocketAsyncResult socket_async_result
 

Static Package Attributes

static readonly Socket.AwaitableSocketAsyncEventArgs Reserved
 

Properties

bool WrapExceptionsInIOExceptions [get, set]
 
Socket AcceptSocket [get, set]
 
int BytesTransferred [get, set, private set]
 
SocketAsyncOperation LastOperation [set]
 
EndPoint RemoteEndPoint [set]
 
int SendPacketsSendSize [set]
 
SocketError SocketError [get, set]
 
SocketFlags SocketFlags [set]
 
object UserToken [get, set]
 
EventHandler< SocketAsyncEventArgsCompleted [set]
 
Socket CurrentSocket [get, set]
 
Memory< byte > MemoryBuffer [get, set]
 
int Offset [get, set]
 
int Count [get, set]
 
IList< ArraySegment< byte > > BufferList [get, set]
 

Private Member Functions

void Release ()
 
void InvokeContinuation (Action< object > continuation, object state, bool forceAsync)
 
void System.Threading.Tasks.Sources.IValueTaskSource. GetResult (short token)
 
void ThrowIncorrectTokenException ()
 
void ThrowMultipleContinuationsException ()
 
void ThrowException (SocketError error)
 
Exception CreateException (SocketError error)
 
void Dispose (bool disposing)
 

Static Private Member Functions

static AwaitableSocketAsyncEventArgs ()
 

Private Attributes

Action< object > _continuation
 
ExecutionContext _executionContext
 
object _scheduler
 
short _token
 
bool< WrapExceptionsInIOExceptionsk__BackingField
 
bool disposed
 
EndPoint remote_ep
 
Socket current_socket
 
Memory< byte > _buffer
 
int _offset
 
int _count
 
bool _bufferIsExplicitArray
 
IList< ArraySegment< byte > > _bufferList
 

Static Private Attributes

static readonly Action< object > s_completedSentinel
 
static readonly Action< object > s_availableSentinel
 

Detailed Description

Definition at line 3868 of file Socket.cs.


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