public abstract class AvroGrpcServer extends Object
Modifier and Type | Method and Description |
---|---|
static io.grpc.ServerServiceDefinition |
createServiceDefinition(Class iface,
Object impl)
Creates a
ServerServiceDefinition for Avro Interface and its
implementation that can be passed a gRPC Server. |
public static io.grpc.ServerServiceDefinition createServiceDefinition(Class iface, Object impl)
ServerServiceDefinition
for Avro Interface and its
implementation that can be passed a gRPC Server.iface
- Avro generated RPC service interface for which service defintion
is created.impl
- Implementation of the service interface to be invoked for
requests.Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.