Package xsbti
Interface ServerMain
-
public interface ServerMain
The main entry point for a launched service. This allows applciations to instantiate server instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Server
start(AppConfiguration configuration)
This method should launch one or more thread(s) which run the service.
-
-
-
Method Detail
-
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.
-
-