C# Class System.Net.WebSockets.WebSocketBase.WebSocketOperation.ReceiveOperation

Inheritance: WebSocketOperation
显示文件 Open project: dotnet/corefx

Public Methods

Method Description
ReceiveOperation ( WebSocketBase webSocket ) : System.Collections.Generic

Protected Methods

Method Description
Cleanup ( ) : void
Initialize ( Nullable buffer, CancellationToken cancellationToken ) : void
ProcessAction_IndicateReceiveComplete ( Nullable buffer, WebSocketProtocolComponent bufferType, WebSocketProtocolComponent action, Interop dataBuffers, uint dataBufferCount, IntPtr actionContext ) : void
ProcessAction_NoAction ( ) : bool
ShouldContinue ( CancellationToken cancellationToken ) : bool

Method Details

Cleanup() protected method

protected Cleanup ( ) : void
return void

Initialize() protected method

protected Initialize ( Nullable buffer, CancellationToken cancellationToken ) : void
buffer Nullable
cancellationToken System.Threading.CancellationToken
return void

ProcessAction_IndicateReceiveComplete() protected method

protected ProcessAction_IndicateReceiveComplete ( Nullable buffer, WebSocketProtocolComponent bufferType, WebSocketProtocolComponent action, Interop dataBuffers, uint dataBufferCount, IntPtr actionContext ) : void
buffer Nullable
bufferType WebSocketProtocolComponent
action WebSocketProtocolComponent
dataBuffers Interop
dataBufferCount uint
actionContext IntPtr
return void

ProcessAction_NoAction() protected method

protected ProcessAction_NoAction ( ) : bool
return bool

ReceiveOperation() public method

public ReceiveOperation ( WebSocketBase webSocket ) : System.Collections.Generic
webSocket WebSocketBase
return System.Collections.Generic

ShouldContinue() protected method

protected ShouldContinue ( CancellationToken cancellationToken ) : bool
cancellationToken System.Threading.CancellationToken
return bool