C# Class System.Net.Sockets.SocketAsyncEventArgs

Inheritance: EventArgs, IDisposable
ファイルを表示 Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
AcceptCompletionCallback void
CancelConnectAsync void
CheckPinMultipleBuffers void
CheckPinNoBuffer void
CheckPinSendPackets void
CheckPinSingleBuffer void
Complete void
CompleteIOCPOperation void
CompletionCallback void
CompletionPortCallback void
ConnectCompletionCallback void
DoOperationAccept SocketError
DoOperationConnect SocketError
DoOperationDisconnect SocketError
DoOperationReceive SocketError
DoOperationReceiveFrom SocketError
DoOperationReceiveMessageFrom SocketError
DoOperationSend SocketError
DoOperationSendPackets SocketError
DoOperationSendTo SocketError
ExecutionCallback void
FinishConnectByNameSyncFailure void
FinishOperationAccept SocketError
FinishOperationAsyncFailure void
FinishOperationAsyncFailure void
FinishOperationConnect SocketError
FinishOperationReceiveMessageFrom void
FinishOperationSendPackets void
FinishOperationSuccess void
FinishOperationSyncFailure void
FinishWrapperConnectSuccess void
FreeInternals void
FreeOverlapped void
GetSocketAddressSize int
InitializeInternals void
InnerComplete void
InnerStartOperationAccept void
InnerStartOperationConnect void
InnerStartOperationDisconnect void
InnerStartOperationReceive void
InnerStartOperationReceiveFrom void
InnerStartOperationReceiveMessageFrom void
InnerStartOperationSend void
InnerStartOperationSendPackets void
InnerStartOperationSendTo void
LogBuffer void
LogSendPacketsBuffers void
PinSocketAddressBuffer void
PrepareIOCPOperation void
ReceiveMessageFromCompletionCallback void
SetBufferInternal void
SetResults void
SetResults void
SetupMultipleBuffers void
SetupOverlappedMultiple void
SetupOverlappedSendPackets void
SetupOverlappedSingle void
SetupSendPacketsElements void
SetupSingleBuffer void
StartConfiguring void
StartOperationAccept void
StartOperationCommon void
StartOperationConnect void
StartOperationDisconnect void
StartOperationReceive void
StartOperationReceiveFrom void
StartOperationReceiveMessageFrom void
StartOperationSend void
StartOperationSendPackets void
StartOperationSendTo void
StartOperationWrapperConnect void
TransferCompletionCallbackCore void
UpdatePerfCounters void

Public Methods

Method Description
Dispose ( ) : void
SetBuffer ( byte buffer, int offset, int count ) : void
SetBuffer ( int offset, int count ) : void
SocketAsyncEventArgs ( ) : System.Collections.Generic

Protected Methods

Method Description
OnCompleted ( SocketAsyncEventArgs e ) : void

Private Methods

Method Description
AcceptCompletionCallback ( IntPtr acceptedFileDescriptor, byte socketAddress, int socketAddressSize, SocketError socketError ) : void
CancelConnectAsync ( ) : void
CheckPinMultipleBuffers ( ) : void
CheckPinNoBuffer ( ) : void
CheckPinSendPackets ( ) : void
CheckPinSingleBuffer ( bool pinUsersBuffer ) : void
Complete ( ) : void
CompleteIOCPOperation ( ) : void
CompletionCallback ( int bytesTransferred, SocketError socketError ) : void
CompletionPortCallback ( uint errorCode, uint numBytes, NativeOverlapped nativeOverlapped ) : void
ConnectCompletionCallback ( SocketError socketError ) : void
DoOperationAccept ( Socket socket, SafeCloseSocket handle, SafeCloseSocket acceptHandle, int &bytesTransferred ) : SocketError
DoOperationConnect ( Socket socket, SafeCloseSocket handle, int &bytesTransferred ) : SocketError
DoOperationDisconnect ( Socket socket, SafeCloseSocket handle ) : SocketError
DoOperationReceive ( SafeCloseSocket handle, SocketFlags &flags, int &bytesTransferred ) : SocketError
DoOperationReceiveFrom ( SafeCloseSocket handle, SocketFlags &flags, int &bytesTransferred ) : SocketError
DoOperationReceiveMessageFrom ( Socket socket, SafeCloseSocket handle, int &bytesTransferred ) : SocketError
DoOperationSend ( SafeCloseSocket handle, int &bytesTransferred ) : SocketError
DoOperationSendPackets ( Socket socket, SafeCloseSocket handle ) : SocketError
DoOperationSendTo ( SafeCloseSocket handle, int &bytesTransferred ) : SocketError
ExecutionCallback ( object state ) : void
FinishConnectByNameSyncFailure ( Exception exception, int bytesTransferred, SocketFlags flags ) : void
FinishOperationAccept ( Internals remoteSocketAddress ) : SocketError
FinishOperationAsyncFailure ( Exception exception, int bytesTransferred, SocketFlags flags ) : void
FinishOperationAsyncFailure ( SocketError socketError, int bytesTransferred, SocketFlags flags ) : void
FinishOperationConnect ( ) : SocketError
FinishOperationReceiveMessageFrom ( ) : void
FinishOperationSendPackets ( ) : void
FinishOperationSuccess ( SocketError socketError, int bytesTransferred, SocketFlags flags ) : void
FinishOperationSyncFailure ( SocketError socketError, int bytesTransferred, SocketFlags flags ) : void
FinishWrapperConnectSuccess ( Socket connectSocket, int bytesTransferred, SocketFlags flags ) : void
FreeInternals ( bool calledFromFinalizer ) : void
FreeOverlapped ( bool checkForShutdown ) : void
GetSocketAddressSize ( ) : int
InitializeInternals ( ) : void
InnerComplete ( ) : void
InnerStartOperationAccept ( bool userSuppliedBuffer ) : void
InnerStartOperationConnect ( ) : void
InnerStartOperationDisconnect ( ) : void
InnerStartOperationReceive ( ) : void
InnerStartOperationReceiveFrom ( ) : void
InnerStartOperationReceiveMessageFrom ( ) : void
InnerStartOperationSend ( ) : void
InnerStartOperationSendPackets ( ) : void
InnerStartOperationSendTo ( ) : void
LogBuffer ( int size ) : void
LogSendPacketsBuffers ( int size ) : void
PinSocketAddressBuffer ( ) : void
PrepareIOCPOperation ( ) : void
ReceiveMessageFromCompletionCallback ( int bytesTransferred, byte socketAddress, int socketAddressSize, SocketFlags receivedFlags, IPPacketInformation ipPacketInformation, SocketError errorCode ) : void
SetBufferInternal ( byte buffer, int offset, int count ) : void
SetResults ( Exception exception, int bytesTransferred, SocketFlags flags ) : void
SetResults ( SocketError socketError, int bytesTransferred, SocketFlags flags ) : void
SetupMultipleBuffers ( ) : void
SetupOverlappedMultiple ( ) : void
SetupOverlappedSendPackets ( ) : void
SetupOverlappedSingle ( bool pinSingleBuffer ) : void
SetupSendPacketsElements ( ) : void
SetupSingleBuffer ( ) : void
StartConfiguring ( ) : void
StartOperationAccept ( ) : void
StartOperationCommon ( Socket socket ) : void
StartOperationConnect ( ) : void
StartOperationDisconnect ( ) : void
StartOperationReceive ( ) : void
StartOperationReceiveFrom ( ) : void
StartOperationReceiveMessageFrom ( ) : void
StartOperationSend ( ) : void
StartOperationSendPackets ( ) : void
StartOperationSendTo ( ) : void
StartOperationWrapperConnect ( MultipleConnectAsync args ) : void
TransferCompletionCallbackCore ( int bytesTransferred, byte socketAddress, int socketAddressSize, SocketFlags receivedFlags, SocketError socketError ) : void
UpdatePerfCounters ( int size, bool sendOp ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

OnCompleted() protected method

protected OnCompleted ( SocketAsyncEventArgs e ) : void
e SocketAsyncEventArgs
return void

SetBuffer() public method

public SetBuffer ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

SetBuffer() public method

public SetBuffer ( int offset, int count ) : void
offset int
count int
return void

SocketAsyncEventArgs() public method

public SocketAsyncEventArgs ( ) : System.Collections.Generic
return System.Collections.Generic