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

显示文件 Open project: dotnet/corefx

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

Private Methods

Method Description
Process ( Nullable buffer, CancellationToken cancellationToken ) : Task
WebSocketOperation ( WebSocketBase webSocket ) : System.Collections.Generic

Method Details

Cleanup() protected abstract method

protected abstract Cleanup ( ) : void
return void

Initialize() protected abstract method

protected abstract 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 abstract method

protected abstract ProcessAction_NoAction ( ) : bool
return bool

ShouldContinue() protected abstract method

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