Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
MultiConnectSocketAsyncEventArgs () | |
void | GetResult (short token) |
ValueTaskSourceStatus | GetStatus (short token) |
void | OnCompleted (Action< object > continuation, object state, short token, ValueTaskSourceOnCompletedFlags flags) |
void | Reset () |
bool | ReachedCoordinationPointFirst () |
void | SetBuffer (int offset, int count) |
void | SetBuffer (byte[]? buffer, int offset, int count) |
void | SetBuffer (Memory< byte > buffer) |
void | Dispose () |
void | OnCompleted (Action< object?> continuation, object? state, short token, ValueTaskSourceOnCompletedFlags flags) |
Static Public Attributes | |
static readonly EventArgs | Empty = new EventArgs() |
Protected Member Functions | |
override void | OnCompleted (SocketAsyncEventArgs e) |
Package Attributes | |
System.Net.Internals.SocketAddress | _socketAddress |
Properties | |
short | Version [get] |
Socket? | AcceptSocket [get, set] |
Socket? | ConnectSocket [get] |
byte?[] | Buffer [get] |
Memory< byte > | MemoryBuffer [get] |
int | Offset [get] |
int | Count [get] |
TransmitFileOptions | SendPacketsFlags [get, set] |
IList< ArraySegment< byte > >? | BufferList [get, set] |
int | BytesTransferred [get] |
bool | DisconnectReuseSocket [get, set] |
SocketAsyncOperation | LastOperation [get] |
IPPacketInformation | ReceiveMessageFromPacketInfo [get] |
EndPoint? | RemoteEndPoint [get, set] |
SendPacketsElement?[] | SendPacketsElements [get, set] |
int | SendPacketsSendSize [get, set] |
SocketError | SocketError [get, set] |
Exception? | ConnectByNameError [get] |
SocketFlags | SocketFlags [get, set] |
object? | UserToken [get, set] |
bool | HasMultipleBuffers [get] |
unsafe IntPtr | PtrSocketAddressBuffer [get] |
IntPtr | PtrSocketAddressBufferSize [get] |
Events | |
EventHandler< SocketAsyncEventArgs >? | Completed |
Private Types | |
enum | AsyncProcessingState : byte { None , InProcess , Set } |
enum | PinState : byte { None , MultipleBuffer , SendPackets } |
Static Private Member Functions | |
static void | ExecutionCallback (object state) |
static void | LogBytesTransferEvents (SocketType? socketType, SocketAsyncOperation operation, int bytesTransferred) |
Static Private Attributes | |
static readonly ContextCallback | s_executionCallback = ExecutionCallback |
static unsafe readonly IOCompletionCallback | s_completionPortCallback |
Definition at line 17 of file SocketAsyncEventArgs.cs.