C# Class Grpc.Core.Internal.CallSafeHandle

grpc_call from grpc/grpc.h
Inheritance: Grpc.Core.Internal.SafeHandleZeroIsInvalid, INativeCall
Mostra file Open project: grpc/grpc Class Usage Examples

Public Properties

Property Type Description
NullInstance CallSafeHandle

Public Methods

Method Description
Cancel ( ) : void
CancelWithStatus ( Grpc.Core.Status status ) : void
GetPeer ( ) : string
Initialize ( CompletionQueueSafeHandle completionQueue ) : void
SetCredentials ( Grpc.Core.Internal.CallCredentialsSafeHandle credentials ) : void
StartClientStreaming ( UnaryResponseClientHandler callback, MetadataArraySafeHandle metadataArray ) : void
StartDuplexStreaming ( ReceivedStatusOnClientHandler callback, MetadataArraySafeHandle metadataArray ) : void
StartReceiveInitialMetadata ( ReceivedResponseHeadersHandler callback ) : void
StartReceiveMessage ( ReceivedMessageHandler callback ) : void
StartSendCloseFromClient ( SendCompletionHandler callback ) : void
StartSendInitialMetadata ( SendCompletionHandler callback, MetadataArraySafeHandle metadataArray ) : void
StartSendMessage ( SendCompletionHandler callback, byte payload, WriteFlags writeFlags, bool sendEmptyInitialMetadata ) : void
StartSendStatusFromServer ( SendCompletionHandler callback, Grpc.Core.Status status, MetadataArraySafeHandle metadataArray, bool sendEmptyInitialMetadata, byte optionalPayload, WriteFlags writeFlags ) : void
StartServerSide ( ReceivedCloseOnServerHandler callback ) : void
StartServerStreaming ( ReceivedStatusOnClientHandler callback, byte payload, MetadataArraySafeHandle metadataArray, WriteFlags writeFlags ) : void
StartUnary ( Grpc.Core.Internal.BatchContextSafeHandle ctx, byte payload, MetadataArraySafeHandle metadataArray, WriteFlags writeFlags ) : void
StartUnary ( UnaryResponseClientHandler callback, byte payload, MetadataArraySafeHandle metadataArray, WriteFlags writeFlags ) : void

Protected Methods

Method Description
ReleaseHandle ( ) : bool

Private Methods

Method Description
CallSafeHandle ( ) : System
GetFlags ( bool buffered ) : uint

Method Details

Cancel() public method

public Cancel ( ) : void
return void

CancelWithStatus() public method

public CancelWithStatus ( Grpc.Core.Status status ) : void
status Grpc.Core.Status
return void

GetPeer() public method

public GetPeer ( ) : string
return string

Initialize() public method

public Initialize ( CompletionQueueSafeHandle completionQueue ) : void
completionQueue CompletionQueueSafeHandle
return void

ReleaseHandle() protected method

protected ReleaseHandle ( ) : bool
return bool

SetCredentials() public method

public SetCredentials ( Grpc.Core.Internal.CallCredentialsSafeHandle credentials ) : void
credentials Grpc.Core.Internal.CallCredentialsSafeHandle
return void

StartClientStreaming() public method

public StartClientStreaming ( UnaryResponseClientHandler callback, MetadataArraySafeHandle metadataArray ) : void
callback UnaryResponseClientHandler
metadataArray MetadataArraySafeHandle
return void

StartDuplexStreaming() public method

public StartDuplexStreaming ( ReceivedStatusOnClientHandler callback, MetadataArraySafeHandle metadataArray ) : void
callback ReceivedStatusOnClientHandler
metadataArray MetadataArraySafeHandle
return void

StartReceiveInitialMetadata() public method

public StartReceiveInitialMetadata ( ReceivedResponseHeadersHandler callback ) : void
callback ReceivedResponseHeadersHandler
return void

StartReceiveMessage() public method

public StartReceiveMessage ( ReceivedMessageHandler callback ) : void
callback ReceivedMessageHandler
return void

StartSendCloseFromClient() public method

public StartSendCloseFromClient ( SendCompletionHandler callback ) : void
callback SendCompletionHandler
return void

StartSendInitialMetadata() public method

public StartSendInitialMetadata ( SendCompletionHandler callback, MetadataArraySafeHandle metadataArray ) : void
callback SendCompletionHandler
metadataArray MetadataArraySafeHandle
return void

StartSendMessage() public method

public StartSendMessage ( SendCompletionHandler callback, byte payload, WriteFlags writeFlags, bool sendEmptyInitialMetadata ) : void
callback SendCompletionHandler
payload byte
writeFlags WriteFlags
sendEmptyInitialMetadata bool
return void

StartSendStatusFromServer() public method

public StartSendStatusFromServer ( SendCompletionHandler callback, Grpc.Core.Status status, MetadataArraySafeHandle metadataArray, bool sendEmptyInitialMetadata, byte optionalPayload, WriteFlags writeFlags ) : void
callback SendCompletionHandler
status Grpc.Core.Status
metadataArray MetadataArraySafeHandle
sendEmptyInitialMetadata bool
optionalPayload byte
writeFlags WriteFlags
return void

StartServerSide() public method

public StartServerSide ( ReceivedCloseOnServerHandler callback ) : void
callback ReceivedCloseOnServerHandler
return void

StartServerStreaming() public method

public StartServerStreaming ( ReceivedStatusOnClientHandler callback, byte payload, MetadataArraySafeHandle metadataArray, WriteFlags writeFlags ) : void
callback ReceivedStatusOnClientHandler
payload byte
metadataArray MetadataArraySafeHandle
writeFlags WriteFlags
return void

StartUnary() public method

public StartUnary ( Grpc.Core.Internal.BatchContextSafeHandle ctx, byte payload, MetadataArraySafeHandle metadataArray, WriteFlags writeFlags ) : void
ctx Grpc.Core.Internal.BatchContextSafeHandle
payload byte
metadataArray MetadataArraySafeHandle
writeFlags WriteFlags
return void

StartUnary() public method

public StartUnary ( UnaryResponseClientHandler callback, byte payload, MetadataArraySafeHandle metadataArray, WriteFlags writeFlags ) : void
callback UnaryResponseClientHandler
payload byte
metadataArray MetadataArraySafeHandle
writeFlags WriteFlags
return void

Property Details

NullInstance public_oe static_oe property

public static CallSafeHandle,Grpc.Core.Internal NullInstance
return CallSafeHandle