C# Class System.Net.WebSockets.WebSocketHttpListenerDuplexStream.HttpListenerAsyncEventArgs

Inheritance: EventArgs, IDisposable
显示文件 Open project: dotnet/corefx

Private Properties

Property Type Description
Complete void
CompletionPortCallback void
FinishOperationFailure void
FinishOperationSuccess void
FreeOverlapped void
InitializeOverlapped void
SetResults void
StartOperationCommon void
StartOperationReceive void
StartOperationSend void
UpdateDataChunk void
UpdateDataChunk void

Public Methods

Method Description
Dispose ( ) : void
HttpListenerAsyncEventArgs ( WebSocketBase webSocket, WebSocketHttpListenerDuplexStream stream ) : Microsoft.Win32.SafeHandles
SetBuffer ( byte buffer, int offset, int count ) : void
SetShouldCloseOutput ( ) : void

Protected Methods

Method Description
OnCompleted ( HttpListenerAsyncEventArgs e ) : void

Private Methods

Method Description
Complete ( ) : void
CompletionPortCallback ( uint errorCode, uint numBytes, NativeOverlapped nativeOverlapped ) : void
FinishOperationFailure ( Exception exception, bool syncCompletion ) : void
FinishOperationSuccess ( int bytesTransferred, bool syncCompletion ) : void
FreeOverlapped ( bool checkForShutdown ) : void
InitializeOverlapped ( ThreadPoolBoundHandle boundHandle ) : void
SetResults ( Exception exception, int bytesTransferred ) : void
StartOperationCommon ( WebSocketHttpListenerDuplexStream currentStream, ThreadPoolBoundHandle boundHandle ) : void
StartOperationReceive ( ) : void
StartOperationSend ( ) : void
UpdateDataChunk ( ) : void
UpdateDataChunk ( int index, byte buffer, int offset, int count ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

HttpListenerAsyncEventArgs() public method

public HttpListenerAsyncEventArgs ( WebSocketBase webSocket, WebSocketHttpListenerDuplexStream stream ) : Microsoft.Win32.SafeHandles
webSocket WebSocketBase
stream WebSocketHttpListenerDuplexStream
return Microsoft.Win32.SafeHandles

OnCompleted() protected method

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

SetBuffer() public method

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

SetShouldCloseOutput() public method

public SetShouldCloseOutput ( ) : void
return void