Class Server

All Implemented Interfaces:
Closeable, AutoCloseable

public class Server extends ResourceManager
gRPC Server
  • Constructor Details

    • Server

      public Server(List<Resource> resources, io.grpc.ServerBuilder<?> serverBuilder)
      Initialize the Server with a list of resources to be managed.
      Parameters:
      resources - List of resources to be managed
      serverBuilder - a gRPC ServerBuilder
    • Server

      public Server(List<Resource> resources, io.grpc.ServerBuilder<?> serverBuilder, ModuleRPCService moduleService)
      Initialize the Server with a list of resources to be managed.
      Parameters:
      resources - List of resources to be managed
      serverBuilder - a gRPC ServerBuilder
      moduleService - Module service in use
  • Method Details

    • start

      public void start()