NetFactory

Generic interface implementing a factory for NetConnection s and NetAcceptor s. To support both Tcp and Ssl, we use an instance of this class (which is TcpFactory or SslFactory) to create generic NetAcceptor and NetConnection instances (which turn out to be Tcp or Ssl implementations).

NetFactory is extended by: TcpFactory, SslFactory.