C# Class Grpc.Core.Internal.ChannelSafeHandle

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

Méthodes publiques

Méthode Description
CheckConnectivityState ( bool tryToConnect ) : ChannelState
CreateCall ( CallSafeHandle parentCall, ContextPropagationFlags propagationMask, CompletionQueueSafeHandle cq, string method, string host, Grpc.Core.Internal.Timespec deadline, Grpc.Core.Internal.CallCredentialsSafeHandle credentials ) : CallSafeHandle
CreateInsecure ( string target, Grpc.Core.Internal.ChannelArgsSafeHandle channelArgs ) : ChannelSafeHandle
CreateSecure ( Grpc.Core.Internal.ChannelCredentialsSafeHandle credentials, string target, Grpc.Core.Internal.ChannelArgsSafeHandle channelArgs ) : ChannelSafeHandle
GetTarget ( ) : string
WatchConnectivityState ( ChannelState lastObservedState, Grpc.Core.Internal.Timespec deadline, CompletionQueueSafeHandle cq, BatchCompletionDelegate callback ) : void

Méthodes protégées

Méthode Description
ReleaseHandle ( ) : bool

Private Methods

Méthode Description
ChannelSafeHandle ( ) : System

Method Details

CheckConnectivityState() public méthode

public CheckConnectivityState ( bool tryToConnect ) : ChannelState
tryToConnect bool
Résultat ChannelState

CreateCall() public méthode

public CreateCall ( CallSafeHandle parentCall, ContextPropagationFlags propagationMask, CompletionQueueSafeHandle cq, string method, string host, Grpc.Core.Internal.Timespec deadline, Grpc.Core.Internal.CallCredentialsSafeHandle credentials ) : CallSafeHandle
parentCall CallSafeHandle
propagationMask ContextPropagationFlags
cq CompletionQueueSafeHandle
method string
host string
deadline Grpc.Core.Internal.Timespec
credentials Grpc.Core.Internal.CallCredentialsSafeHandle
Résultat CallSafeHandle

CreateInsecure() public static méthode

public static CreateInsecure ( string target, Grpc.Core.Internal.ChannelArgsSafeHandle channelArgs ) : ChannelSafeHandle
target string
channelArgs Grpc.Core.Internal.ChannelArgsSafeHandle
Résultat ChannelSafeHandle

CreateSecure() public static méthode

public static CreateSecure ( Grpc.Core.Internal.ChannelCredentialsSafeHandle credentials, string target, Grpc.Core.Internal.ChannelArgsSafeHandle channelArgs ) : ChannelSafeHandle
credentials Grpc.Core.Internal.ChannelCredentialsSafeHandle
target string
channelArgs Grpc.Core.Internal.ChannelArgsSafeHandle
Résultat ChannelSafeHandle

GetTarget() public méthode

public GetTarget ( ) : string
Résultat string

ReleaseHandle() protected méthode

protected ReleaseHandle ( ) : bool
Résultat bool

WatchConnectivityState() public méthode

public WatchConnectivityState ( ChannelState lastObservedState, Grpc.Core.Internal.Timespec deadline, CompletionQueueSafeHandle cq, BatchCompletionDelegate callback ) : void
lastObservedState ChannelState
deadline Grpc.Core.Internal.Timespec
cq CompletionQueueSafeHandle
callback BatchCompletionDelegate
Résultat void