public abstract static class EventServiceGrpc.EventServiceImplBase extends Object implements io.grpc.BindableService
| Constructor and Description |
|---|
EventServiceImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
io.grpc.stub.StreamObserver<Event> |
collect(io.grpc.stub.StreamObserver<Commands> responseObserver)
When reporting an event, you typically call the collect function twice, one for starting of the event and the other one for ending of the event, with the same UUID.
|
public io.grpc.stub.StreamObserver<Event> collect(io.grpc.stub.StreamObserver<Commands> responseObserver)
When reporting an event, you typically call the collect function twice, one for starting of the event and the other one for ending of the event, with the same UUID. There are also cases where you have both start time and end time already, for example, when exporting events from a 3rd-party system, the start time and end time are already known so that you can call the collect function only once.
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableServiceCopyright © 2022 The Apache Software Foundation. All rights reserved.