Class ServerServiceGrpc
java.lang.Object
com.soulfiremc.grpc.generated.ServerServiceGrpc
ServerService provides gRPC methods for managing server-level configuration in SoulFire. This service handles global settings that affect the entire SoulFire server instance, including debug logging, plugin configurations, and other server-wide preferences. Configuration changes are persisted to a database and trigger runtime hooks to apply settings immediately (e.g., adjusting log levels for SoulFire, Minecraft, Netty, gRPC, Hibernate, and Via components). All methods require appropriate permissions: - GetServerInfo requires READ_SERVER_CONFIG permission - UpdateServerConfig requires UPDATE_SERVER_CONFIG permission - UpdateServerConfigEntry requires UPDATE_SERVER_CONFIG permission Errors: - PERMISSION_DENIED: If the caller lacks the required permission - INTERNAL: If a database or processing error occurs
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceServerService provides gRPC methods for managing server-level configuration in SoulFire.static final classA stub to allow clients to do limited synchronous rpc calls to service ServerService.static final classA stub to allow clients to do synchronous rpc calls to service ServerService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service ServerService.static classBase class for the server implementation of the service ServerService.static final classA stub to allow clients to do asynchronous rpc calls to service ServerService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.MethodDescriptor<ServerInfoRequest, ServerInfoResponse> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<ServerUpdateConfigEntryRequest, ServerUpdateConfigEntryResponse> static io.grpc.MethodDescriptor<ServerUpdateConfigRequest, ServerUpdateConfigResponse> newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getGetServerInfoMethod
public static io.grpc.MethodDescriptor<ServerInfoRequest, ServerInfoResponse> getGetServerInfoMethod() -
getUpdateServerConfigMethod
public static io.grpc.MethodDescriptor<ServerUpdateConfigRequest, ServerUpdateConfigResponse> getUpdateServerConfigMethod() -
getUpdateServerConfigEntryMethod
public static io.grpc.MethodDescriptor<ServerUpdateConfigEntryRequest, ServerUpdateConfigEntryResponse> getUpdateServerConfigEntryMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
public static ServerServiceGrpc.ServerServiceBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(ServerServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-