C# Class Grpc.Reflection.ReflectionServiceImpl

Implementation of server reflection service.
Inheritance: Grpc.Reflection.V1Alpha.ServerReflection.ServerReflectionBase
Mostrar archivo Open project: grpc/grpc Class Usage Examples

Public Methods

Method Description
ReflectionServiceImpl ( ) : System

Creates a new instance of ReflectionServiceIml.

ReflectionServiceImpl ( IEnumerable serviceDescriptors ) : System

Creates a new instance of ReflectionServiceIml.

ReflectionServiceImpl ( IEnumerable services, SymbolRegistry symbolRegistry ) : System

Creates a new instance of ReflectionServiceIml.

ServerReflectionInfo ( IAsyncStreamReader requestStream, IServerStreamWriter responseStream, Grpc.Core.ServerCallContext context ) : System.Threading.Tasks.Task

Private Methods

Method Description
CollectTransitiveDependencies ( FileDescriptor descriptor, HashSet pool ) : void
CreateErrorResponse ( StatusCode status, string message ) : ServerReflectionResponse
FileByFilename ( string filename ) : ServerReflectionResponse
FileContainingSymbol ( string symbol ) : ServerReflectionResponse
ListServices ( ) : ServerReflectionResponse
ProcessRequest ( ServerReflectionRequest request ) : ServerReflectionResponse

Method Details

ReflectionServiceImpl() public method

Creates a new instance of ReflectionServiceIml.
public ReflectionServiceImpl ( ) : System
return System

ReflectionServiceImpl() public method

Creates a new instance of ReflectionServiceIml.
public ReflectionServiceImpl ( IEnumerable serviceDescriptors ) : System
serviceDescriptors IEnumerable
return System

ReflectionServiceImpl() public method

Creates a new instance of ReflectionServiceIml.
public ReflectionServiceImpl ( IEnumerable services, SymbolRegistry symbolRegistry ) : System
services IEnumerable
symbolRegistry SymbolRegistry
return System

ServerReflectionInfo() public method

public ServerReflectionInfo ( IAsyncStreamReader requestStream, IServerStreamWriter responseStream, Grpc.Core.ServerCallContext context ) : System.Threading.Tasks.Task
requestStream IAsyncStreamReader
responseStream IServerStreamWriter
context Grpc.Core.ServerCallContext
return System.Threading.Tasks.Task