# Class StServers

java.lang.Object
com.io7m.stonesignal.server.StServers

All Implemented Interfaces:
  `StServerFactoryType`

public final class StServers extends Object implements StServerFactoryType
The default server factory.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `StServers()`
  The default server factory.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `StServerType`
  `createServer(Clock clock, StConfiguration configuration)`
  Create a new server.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### StServers

    public StServers()
    The default server factory.

- ## Method Details

  - ### createServer

    public StServerType createServer(Clock clock, StConfiguration configuration)
    Description copied from interface: `StServerFactoryType`
    Create a new server.
    Specified by:
      `createServer` in interface `StServerFactoryType`
    Parameters:
      `clock` - The clock
      `configuration` - The server configuration
    Returns:
      A new server