 
     io.set "log level", logLevels[@owner.log_properties.logLevel]
 
-    channel = io.on("connection", (socket) =>
+    io.on("connection", (socket) =>
       id = socket.id
       clients[id] =
         id: id


    @owner.send @owner.h_buildSignal(client.child, "stop", {}) if client.child


  start: ->
    @started = true

  stop: ->
    @started = false


validator = require "../validator"
codes = require "../codes"

#
# Class that defines a socket-IO Connector (to connect a hAPI to a hEngine)
#
class SocketIO_Connector

  # @property {boolean} Connector's status
  started: undefined

  #
  # Connector's constructor. Create the websocket which be used by the socketIO adapter.
  # @param properties {object} Properties of the socket-IO connector
  #
  constructor: (properties) ->
    if properties.owner
    then @owner = properties.owner
