Class EventServiceGrpc.EventServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<EventServiceGrpc.EventServiceStub>
org.apache.skywalking.apm.network.event.v3.EventServiceGrpc.EventServiceStub
- Enclosing class:
- EventServiceGrpc
public static final class EventServiceGrpc.EventServiceStub
extends io.grpc.stub.AbstractAsyncStub<EventServiceGrpc.EventServiceStub>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected EventServiceGrpc.EventServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) io.grpc.stub.StreamObserver<Event>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.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected EventServiceGrpc.EventServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<EventServiceGrpc.EventServiceStub>
-
collect
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.
-