gRPC  0.6.0
 All Classes Namespaces Functions Variables Enumerations Properties Pages
Static Public Member Functions | List of all members
Grpc.Core.GrpcEnvironment Class Reference

Encapsulates initialization and shutdown of gRPC library. More...

Static Public Member Functions

static void Initialize ()
 Makes sure GRPC environment is initialized. Subsequent invocations don't have any effect unless you call Shutdown first. Although normal use cases assume you will call this just once in your application's lifetime (and call Shutdown once you're done), for the sake of easier testing it's allowed to initialize the environment again after it has been successfully shutdown. More...
 
static void Shutdown ()
 Shuts down the GRPC environment if it was initialized before. Repeated invocations have no effect. More...
 

Detailed Description

Encapsulates initialization and shutdown of gRPC library.

Member Function Documentation

static void Grpc.Core.GrpcEnvironment.Initialize ( )
inlinestatic

Makes sure GRPC environment is initialized. Subsequent invocations don't have any effect unless you call Shutdown first. Although normal use cases assume you will call this just once in your application's lifetime (and call Shutdown once you're done), for the sake of easier testing it's allowed to initialize the environment again after it has been successfully shutdown.

static void Grpc.Core.GrpcEnvironment.Shutdown ( )
inlinestatic

Shuts down the GRPC environment if it was initialized before. Repeated invocations have no effect.


The documentation for this class was generated from the following file: