terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs Class Referencesealed
+ Inheritance 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)
 

Static Public Attributes

static readonly 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, private set]
 
SocketAsyncOperation LastOperation [set]
 
EndPoint RemoteEndPoint [set]
 
int SendPacketsSendSize [set]
 
SocketError SocketError [get, set]
 
SocketFlags SocketFlags [set]
 
object UserToken [get, set]
 
EventHandler< SocketAsyncEventArgsCompleted
 
Socket CurrentSocket [get]
 
Memory< byte > MemoryBuffer [get]
 
int Offset [get]
 
int Count [get]
 
IList< ArraySegment< byte > > BufferList [get]
 

Private Member Functions

void Release ()
 
void InvokeContinuation (Action< object > continuation, object state, bool forceAsync)
 
void 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 2195 of file Socket.cs.


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