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 Type
    Method
    Description
    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.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected EventServiceGrpc.EventServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.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.