C# 클래스 Grpc.Core.Internal.ChannelSafeHandle

grpc_channel from
상속: Grpc.Core.Internal.SafeHandleZeroIsInvalid
파일 보기 프로젝트 열기: grpc/grpc 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
ReleaseHandle ( ) : bool

비공개 메소드들

메소드 설명
ChannelSafeHandle ( ) : System

메소드 상세

CheckConnectivityState() 공개 메소드

public CheckConnectivityState ( bool tryToConnect ) : ChannelState
tryToConnect bool
리턴 ChannelState

CreateCall() 공개 메소드

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
리턴 CallSafeHandle

CreateInsecure() 공개 정적인 메소드

public static CreateInsecure ( string target, Grpc.Core.Internal.ChannelArgsSafeHandle channelArgs ) : ChannelSafeHandle
target string
channelArgs Grpc.Core.Internal.ChannelArgsSafeHandle
리턴 ChannelSafeHandle

CreateSecure() 공개 정적인 메소드

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
리턴 ChannelSafeHandle

GetTarget() 공개 메소드

public GetTarget ( ) : string
리턴 string

ReleaseHandle() 보호된 메소드

protected ReleaseHandle ( ) : bool
리턴 bool

WatchConnectivityState() 공개 메소드

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
리턴 void