Class GrpcPlayerSessionService
java.lang.Object
tech.skworks.tachyon.plugin.core.grpc.AbstractGrpcService
tech.skworks.tachyon.plugin.core.playersession.GrpcPlayerSessionService
- All Implemented Interfaces:
PlayerSessionService
Project Tachyon
Class PlayerProfileService
- Since:
- 1.0.0-SNAPSHOT
- Version:
- 1.0
- Author:
- Jimmy (vSKAH) - 13/04/2026
-
Field Summary
Fields inherited from class AbstractGrpcService
backendStubProvider, tachyonMetrics -
Constructor Summary
ConstructorsConstructorDescriptionGrpcPlayerSessionService(@Nullable TachyonMetrics tachyonMetrics, BackendStubProvider backendStubProvider, TachyonCore plugin) -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> voidhandleGrpcExceptions(@NotNull String actionName, @NotNull tech.skworks.tachyon.libs.io.grpc.StatusRuntimeException ex, CompletableFuture<T> future) voidsendHeartBeats(@NotNull Collection<TachyonProfile> profiles, boolean log) voidshutdown()voidunlockPlayerProfile(@NotNull UUID uuid, @NotNull String playerName) Methods inherited from class AbstractGrpcService
asyncCall, asyncRun, recordError, recordError, startTimer
-
Constructor Details
-
GrpcPlayerSessionService
public GrpcPlayerSessionService(@Nullable TachyonMetrics tachyonMetrics, BackendStubProvider backendStubProvider, TachyonCore plugin)
-
-
Method Details
-
unlockPlayerProfile
- Specified by:
unlockPlayerProfilein interfacePlayerSessionService
-
sendHeartBeats
- Specified by:
sendHeartBeatsin interfacePlayerSessionService
-
handleGrpcExceptions
protected <T> void handleGrpcExceptions(@NotNull @NotNull String actionName, @NotNull @NotNull tech.skworks.tachyon.libs.io.grpc.StatusRuntimeException ex, CompletableFuture<T> future) - Specified by:
handleGrpcExceptionsin classAbstractGrpcService
-
shutdown
public void shutdown()- Specified by:
shutdownin classAbstractGrpcService
-