Class LogsServiceGrpc.LogsServiceFutureStub

java.lang.Object
io.grpc.stub.AbstractStub<LogsServiceGrpc.LogsServiceFutureStub>
io.grpc.stub.AbstractFutureStub<LogsServiceGrpc.LogsServiceFutureStub>
com.soulfiremc.grpc.generated.LogsServiceGrpc.LogsServiceFutureStub
Enclosing class:
LogsServiceGrpc

public static final class LogsServiceGrpc.LogsServiceFutureStub extends io.grpc.stub.AbstractFutureStub<LogsServiceGrpc.LogsServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service LogsService.
Service for accessing SoulFire server logs.
Provides both historical log retrieval and real-time log streaming capabilities.
All methods require appropriate authentication and permissions based on the requested scope.
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub

    io.grpc.stub.AbstractStub.StubFactory<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    com.google.common.util.concurrent.ListenableFuture<PreviousLogResponse>
    Retrieves historical log entries from the server's in-memory log buffer.

    Methods inherited from class io.grpc.stub.AbstractFutureStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

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

    Methods inherited from class Object

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

    • build

      protected LogsServiceGrpc.LogsServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<LogsServiceGrpc.LogsServiceFutureStub>
    • getPrevious

      public com.google.common.util.concurrent.ListenableFuture<PreviousLogResponse> getPrevious(PreviousLogRequest request)
      Retrieves historical log entries from the server's in-memory log buffer.
      The server maintains a rolling buffer of the last 300 log entries.
      Only returns non-personal logs that match the specified scope.
      Permissions required:
      - GlobalLogScope: GLOBAL_SUBSCRIBE_LOGS
      - InstanceLogScope/BotLogScope/InstanceScriptLogScope: INSTANCE_SUBSCRIBE_LOGS for the instance
      - PersonalLogScope: No special permissions (but returns empty since personal logs are not stored)
      Errors:
      - PERMISSION_DENIED: User lacks required permission for the requested scope
      - INVALID_ARGUMENT: Scope not set or invalid UUID format
      - INTERNAL: Server error while retrieving logs