Package com.complexible.common.protocols.server

# Interface ServerFactory

public interface ServerFactory

Simple interface for starting a server programmatically

Since:
  0.6.7
Version:
  2.0
Author:
  Michael Grove

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Server`
  `createServer(SocketAddress theAddress, Options theOptions, com.codahale.metrics.MetricRegistry theMetrics)`
  Create a new server listening on the network interface at the specified port with the given configuration.

- ## Method Details

  - ### createServer

    Server createServer(SocketAddress theAddress, Options theOptions, com.codahale.metrics.MetricRegistry theMetrics)
    Create a new server listening on the network interface at the specified port with the given configuration.
    Parameters:
      `theAddress` - address the server should listen on
      `theOptions` - configuration options for the server for specifying such things, as whether or not SSL is enabled.
    Returns:
      the new server