Esempio n. 1
0
 public static ServerSafeHandle NewServer(CompletionQueueSafeHandle cq, ChannelArgsSafeHandle args)
 {
     // Increment reference count for the native gRPC environment to make sure we don't do grpc_shutdown() before destroying the server handle.
     // Doing so would make object finalizer crash if we end up abandoning the handle.
     GrpcEnvironment.GrpcNativeInit();
     return(pinvoke.grpcsharp_server_create(cq, args));
 }
Esempio n. 2
0
 public static ChannelSafeHandle CreateInsecure(string target, ChannelArgsSafeHandle channelArgs)
 {
     // Increment reference count for the native gRPC environment to make sure we don't do grpc_shutdown() before destroying the server handle.
     // Doing so would make object finalizer crash if we end up abandoning the handle.
     GrpcEnvironment.GrpcNativeInit();
     return(grpcsharp_insecure_channel_create(target, channelArgs));
 }
Esempio n. 3
0
 public static ServerSafeHandle NewServer(CompletionQueueSafeHandle cq, ChannelArgsSafeHandle args)
 {
     // Increment reference count for the native gRPC environment to make sure we don't do grpc_shutdown() before destroying the server handle.
     // Doing so would make object finalizer crash if we end up abandoning the handle.
     GrpcEnvironment.GrpcNativeInit();
     return Native.grpcsharp_server_create(cq, args);
 }
Esempio n. 4
0
 public static ChannelSafeHandle CreateSecure(CredentialsSafeHandle credentials, string target, ChannelArgsSafeHandle channelArgs)
 {
     // Increment reference count for the native gRPC environment to make sure we don't do grpc_shutdown() before destroying the server handle.
     // Doing so would make object finalizer crash if we end up abandoning the handle.
     GrpcEnvironment.GrpcNativeInit();
     return grpcsharp_secure_channel_create(credentials, target, channelArgs);
 }
Esempio n. 5
0
 ServerSafeHandle IPlatformInvocation.grpcsharp_server_create(CompletionQueueSafeHandle cq,
                                                              ChannelArgsSafeHandle args)
 {
     return(grpcsharp_server_create(cq, args));
 }
Esempio n. 6
0
 public static ChannelSafeHandle CreateSecure(CredentialsSafeHandle credentials, string target, ChannelArgsSafeHandle channelArgs)
 {
     return(grpcsharp_secure_channel_create(credentials, target, channelArgs));
 }
Esempio n. 7
0
 static extern ChannelSafeHandle grpcsharp_secure_channel_create(CredentialsSafeHandle credentials, string target, ChannelArgsSafeHandle channelArgs);
Esempio n. 8
0
 internal static extern ChannelSafeHandle grpcsharp_secure_channel_create(ChannelCredentialsSafeHandle credentials, string target, ChannelArgsSafeHandle channelArgs);
Esempio n. 9
0
 internal static extern void grpcsharp_channel_args_set_integer(ChannelArgsSafeHandle args, UIntPtr index, string key, int value);
Esempio n. 10
0
 static extern ServerSafeHandle grpcsharp_server_create(CompletionQueueSafeHandle cq, ChannelArgsSafeHandle args);
Esempio n. 11
0
 ChannelSafeHandle IPlatformInvocation.grpcsharp_insecure_channel_create(string target,
     ChannelArgsSafeHandle channelArgs)
 {
     return grpcsharp_insecure_channel_create(target, channelArgs);
 }
Esempio n. 12
0
 public static ChannelSafeHandle Create(string target, ChannelArgsSafeHandle channelArgs)
 {
     return grpcsharp_channel_create(target, channelArgs);
 }
Esempio n. 13
0
 public static ServerSafeHandle NewServer(CompletionQueueSafeHandle cq, ChannelArgsSafeHandle args)
 {
     return grpcsharp_server_create(cq, args);
 }
Esempio n. 14
0
 public static ServerSafeHandle NewServer(CompletionQueueSafeHandle cq, ChannelArgsSafeHandle args)
 {
     return(grpcsharp_server_create(cq, args));
 }
Esempio n. 15
0
 internal static extern ServerSafeHandle grpcsharp_server_create(ChannelArgsSafeHandle args);
Esempio n. 16
0
 static extern void grpcsharp_channel_args_set_integer(ChannelArgsSafeHandle args, UIntPtr index, string key, int value);
Esempio n. 17
0
 void IPlatformInvocation.grpcsharp_channel_args_set_integer(ChannelArgsSafeHandle args, UIntPtr index,
     string key, int value)
 {
     grpcsharp_channel_args_set_integer(args, index, key, value);
 }
Esempio n. 18
0
 public static ChannelSafeHandle CreateSecure(CredentialsSafeHandle credentials, string target, ChannelArgsSafeHandle channelArgs)
 {
     return grpcsharp_secure_channel_create(credentials, target, channelArgs);
 }
Esempio n. 19
0
 ChannelSafeHandle IPlatformInvocation.grpcsharp_secure_channel_create(ChannelCredentialsSafeHandle credentials,
     string target, ChannelArgsSafeHandle channelArgs)
 {
     return grpcsharp_secure_channel_create(credentials, target, channelArgs);
 }
Esempio n. 20
0
 static extern void grpcsharp_channel_args_set_string(ChannelArgsSafeHandle args, UIntPtr index, string key, string value);
Esempio n. 21
0
 ServerSafeHandle IPlatformInvocation.grpcsharp_server_create(CompletionQueueSafeHandle cq,
     ChannelArgsSafeHandle args)
 {
     return grpcsharp_server_create(cq, args);
 }
Esempio n. 22
0
 void IPlatformInvocation.grpcsharp_channel_args_set_integer(ChannelArgsSafeHandle args, UIntPtr index,
                                                             string key, int value)
 {
     grpcsharp_channel_args_set_integer(args, index, key, value);
 }
Esempio n. 23
0
 internal static extern ChannelSafeHandle grpcsharp_insecure_channel_create(string target, ChannelArgsSafeHandle channelArgs);
Esempio n. 24
0
 ChannelSafeHandle IPlatformInvocation.grpcsharp_insecure_channel_create(string target,
                                                                         ChannelArgsSafeHandle channelArgs)
 {
     return(grpcsharp_insecure_channel_create(target, channelArgs));
 }
Esempio n. 25
0
 static extern ChannelSafeHandle grpcsharp_insecure_channel_create(string target, ChannelArgsSafeHandle channelArgs);
Esempio n. 26
0
 ChannelSafeHandle IPlatformInvocation.grpcsharp_secure_channel_create(ChannelCredentialsSafeHandle credentials,
                                                                       string target, ChannelArgsSafeHandle channelArgs)
 {
     return(grpcsharp_secure_channel_create(credentials, target, channelArgs));
 }
Esempio n. 27
0
 static extern ServerSafeHandle grpcsharp_server_create(CompletionQueueSafeHandle cq, ChannelArgsSafeHandle args);
Esempio n. 28
0
 public static ChannelSafeHandle CreateInsecure(string target, ChannelArgsSafeHandle channelArgs)
 {
     return(grpcsharp_insecure_channel_create(target, channelArgs));
 }