lib/network.js
function NetworkServer(server) {
  this.server = server;
  function connection(socket) {
    server.connection(socket, this);
  }
  this.on('connection', connection);
}
function NetworkServer(server) {
  this.server = server;
  function connection(socket) {
    server.connection(socket, this);
  }
  this.on('connection', connection);
}
function NetworkServer ( server ) { this . server = server ; function connection ( socket ) { server . connection ( socket , this ) ; } this . on ( 'connection' , connection ) ; }
Abstract server class.

@param server The main server instance.
Abstract server class .