Package xsbti

Interface ServerMain


public interface ServerMain
The main entry point for a launched service. This allows applciations to instantiate server instances.
  • Method Summary

    Modifier and Type
    Method
    Description
    start(AppConfiguration configuration)
    This method should launch one or more thread(s) which run the service.
  • Method Details

    • start

      Server start(AppConfiguration configuration)
      This method should launch one or more thread(s) which run the service. After the service has been started, it should return the port/URI it is listening for connections on.
      Parameters:
      configuration - The configuration used to launch this service.
      Returns:
      A running server.