     @mergen.subscribe @getChannelNameForKite()
 
     @mergen.on "message", (channel, message)=>
-      
-      # console.log "received =================="
-      # console.log message
-      # console.log "// received ==============="
-
       message = JSON.parse message
       @receivedCommand message.from, message.id, message.cmd, message.args
 

    "#{@publicKey}-kite-all"

  getGroupName:(groupName)->
    "#{@publicKey}-kite-kite-#{@publicKey}-Deployer"

  receivedCommand: (from, cmdid, cmd, args)->
    #console.log "received command", from, cmd, args

    if cmd.indexOf('reply-') > -1
      cmdid = cmd.split('reply-')[1]
      @waitingReplies[cmdid]?.call(@, {args:args, from:from})
      return

    fn = @commands[cmd]


    @mergenData.hset "#{@publicKey}-kites", "#{@serviceGenericName}-#{@serviceUniqueName}", data

    @sendCommand @getChannelNameForGenericName(), "kite.who", [], (err, reply)->
      console.log "=========11111111================================="
      console.log err, reply
      console.log "=========// 11111111================================="
      @commands['kite.join'].call(@, {args:[@getChannelNameForGenericName(),reply.from], from:reply.from})

    @sendCommand @getChannelNameForGenericName(), "kite.join", [@getChannelNameForGenericName(), @getChannelNameForKite()]

