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

Afficher le fichier Open project: dotnet/corefx

Méthodes protégées

Méthode 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

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

Method Details

Cleanup() protected abstract méthode

protected abstract Cleanup ( ) : void
Résultat void

Initialize() protected abstract méthode

protected abstract Initialize ( Nullable buffer, CancellationToken cancellationToken ) : void
buffer Nullable
cancellationToken System.Threading.CancellationToken
Résultat void

ProcessAction_IndicateReceiveComplete() protected méthode

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
Résultat void

ProcessAction_NoAction() protected abstract méthode

protected abstract ProcessAction_NoAction ( ) : bool
Résultat bool

ShouldContinue() protected abstract méthode

protected abstract ShouldContinue ( CancellationToken cancellationToken ) : bool
cancellationToken System.Threading.CancellationToken
Résultat bool