C# Class Grpc.Core.Internal.CompletionQueueSafeHandle

grpc_completion_queue from
Inheritance: Grpc.Core.Internal.SafeHandleZeroIsInvalid
Afficher le fichier Open project: grpc/grpc Class Usage Examples

Méthodes publiques

Méthode Description
Create ( ) : CompletionQueueSafeHandle
Create ( Grpc.Core.Internal.CompletionRegistry completionRegistry ) : CompletionQueueSafeHandle
NewScope ( ) : UsageScope

Creates a new usage scope for this completion queue. Once successfully created, the completion queue won't be shutdown before scope.Dispose() is called.

Next ( ) : Grpc.Core.Internal.CompletionQueueEvent
Pluck ( IntPtr tag ) : Grpc.Core.Internal.CompletionQueueEvent
Shutdown ( ) : void

Méthodes protégées

Méthode Description
ReleaseHandle ( ) : bool

Private Methods

Méthode Description
BeginOp ( ) : void
CompletionQueueSafeHandle ( ) : System
DecrementShutdownRefcount ( ) : void
EndOp ( ) : void

Method Details

Create() public static méthode

public static Create ( ) : CompletionQueueSafeHandle
Résultat CompletionQueueSafeHandle

Create() public static méthode

public static Create ( Grpc.Core.Internal.CompletionRegistry completionRegistry ) : CompletionQueueSafeHandle
completionRegistry Grpc.Core.Internal.CompletionRegistry
Résultat CompletionQueueSafeHandle

NewScope() public méthode

Creates a new usage scope for this completion queue. Once successfully created, the completion queue won't be shutdown before scope.Dispose() is called.
public NewScope ( ) : UsageScope
Résultat UsageScope

Next() public méthode

public Next ( ) : Grpc.Core.Internal.CompletionQueueEvent
Résultat Grpc.Core.Internal.CompletionQueueEvent

Pluck() public méthode

public Pluck ( IntPtr tag ) : Grpc.Core.Internal.CompletionQueueEvent
tag System.IntPtr
Résultat Grpc.Core.Internal.CompletionQueueEvent

ReleaseHandle() protected méthode

protected ReleaseHandle ( ) : bool
Résultat bool

Shutdown() public méthode

public Shutdown ( ) : void
Résultat void