 
     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

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

class SocketIO_Connector
  ###
  Runs a SocketIO Connector with the given arguments.
  @param args - {
  logLevel : DEBUG, INFO, WARN or ERROR
  port : int
  commandOptions : {} Command Controller Options
  }
  ###
  constructor: (properties) ->
    if properties.owner
    then @owner = properties.owner


    )

  #
  # Method which connect the websocket
  # @param client {object} Reference to the client
  # @param data {object} Connexion data (urn, password)
  #
  connect: (client, data) ->
    unless client
      @owner.log "warn", "A client sent an invalid ID with data", data
