Class BaseModule

All Implemented Interfaces:
io.grpc.BindableService, ModuleServiceGrpc.AsyncService

public abstract class BaseModule extends ModuleServiceGrpc.ModuleServiceImplBase
  • Field Details

    • address

      protected final String address
  • Constructor Details

    • BaseModule

      public BaseModule(String[] args)
      Create a new Module with the args provided in the command line. The first argument after the command must be the socket path. If the second argument after the command is "--log-level=debug", the Module's logger will be DEBUG level. Otherwise, it will be INFO level. See LogLevel documentation in the RDK for more information on how to start modules with a "log-level" commandline argument.
  • Method Details