C# Class Grpc.Core.Internal.ServerSafeHandle

grpc_server from grpc/grpc.h
Inheritance: Grpc.Core.Internal.SafeHandleZeroIsInvalid
显示文件 Open project: endlessm/chromium-browser Class Usage Examples

Public Methods

Method Description
AddInsecurePort ( string addr ) : int
AddSecurePort ( string addr, Grpc.Core.Internal.ServerCredentialsSafeHandle credentials ) : int
CancelAllCalls ( ) : void
NewServer ( Grpc.Core.Internal.ChannelArgsSafeHandle args ) : ServerSafeHandle
RegisterCompletionQueue ( CompletionQueueSafeHandle cq ) : void
RequestCall ( BatchCompletionDelegate callback, CompletionQueueSafeHandle completionQueue ) : void
ShutdownAndNotify ( BatchCompletionDelegate callback, CompletionQueueSafeHandle completionQueue ) : void
Start ( ) : void

Protected Methods

Method Description
ReleaseHandle ( ) : bool

Private Methods

Method Description
ServerSafeHandle ( )

Method Details

AddInsecurePort() public method

public AddInsecurePort ( string addr ) : int
addr string
return int

AddSecurePort() public method

public AddSecurePort ( string addr, Grpc.Core.Internal.ServerCredentialsSafeHandle credentials ) : int
addr string
credentials Grpc.Core.Internal.ServerCredentialsSafeHandle
return int

CancelAllCalls() public method

public CancelAllCalls ( ) : void
return void

NewServer() public static method

public static NewServer ( Grpc.Core.Internal.ChannelArgsSafeHandle args ) : ServerSafeHandle
args Grpc.Core.Internal.ChannelArgsSafeHandle
return ServerSafeHandle

RegisterCompletionQueue() public method

public RegisterCompletionQueue ( CompletionQueueSafeHandle cq ) : void
cq CompletionQueueSafeHandle
return void

ReleaseHandle() protected method

protected ReleaseHandle ( ) : bool
return bool

RequestCall() public method

public RequestCall ( BatchCompletionDelegate callback, CompletionQueueSafeHandle completionQueue ) : void
callback BatchCompletionDelegate
completionQueue CompletionQueueSafeHandle
return void

ShutdownAndNotify() public method

public ShutdownAndNotify ( BatchCompletionDelegate callback, CompletionQueueSafeHandle completionQueue ) : void
callback BatchCompletionDelegate
completionQueue CompletionQueueSafeHandle
return void

Start() public method

public Start ( ) : void
return void