Package com.intergral.deep.agent.grpc
Class GrpcService
- java.lang.Object
-
- com.intergral.deep.agent.grpc.GrpcService
-
public class GrpcService extends Object
This service handles the grpc channel and attaching the metadata to the outbound services.
-
-
Constructor Summary
Constructors Constructor Description GrpcService(Settings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.intergral.deep.proto.poll.v1.PollConfigGrpc.PollConfigBlockingStub
pollService()
Get the grpc service for polling configs.void
shutdown()
Shutdown the grpc channel.com.intergral.deep.proto.tracepoint.v1.SnapshotServiceGrpc.SnapshotServiceStub
snapshotService()
Get the grpc service for sending snapshots.void
start()
Start the grpc service and connect the channel.
-
-
-
Constructor Detail
-
GrpcService
public GrpcService(Settings settings)
-
-
Method Detail
-
start
public void start()
Start the grpc service and connect the channel.
-
shutdown
public void shutdown()
Shutdown the grpc channel.
-
pollService
public com.intergral.deep.proto.poll.v1.PollConfigGrpc.PollConfigBlockingStub pollService()
Get the grpc service for polling configs.- Returns:
- the service to use
-
snapshotService
public com.intergral.deep.proto.tracepoint.v1.SnapshotServiceGrpc.SnapshotServiceStub snapshotService()
Get the grpc service for sending snapshots.- Returns:
- the service to use
-
-