public static final class EventServiceGrpc.EventServiceStub extends io.grpc.stub.AbstractAsyncStub<EventServiceGrpc.EventServiceStub>
| Modifier and Type | Method and Description |
|---|---|
protected EventServiceGrpc.EventServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
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.
|
protected EventServiceGrpc.EventServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<EventServiceGrpc.EventServiceStub>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.
Copyright © 2022 The Apache Software Foundation. All rights reserved.