         @sequence += 1
         
         record =
-          sequence: seq
-          directive: 'publish'
-          channel: channel
-          message: message
+          seq: seq
+          action: 'publish'
+          chan: channel
+          msg: message
         
         @sock.send JSON.stringify(record)
         .then =>

        @sequence += 1
        
        record =
          sequence: seq
          directive: 'unsubscribe'
          channel: channel
        
        @sock.send JSON.stringify(record)

        @sequence += 1
        
        record =
          seq: seq
          action: 'subscribe'
          channel: channel
        
        @sock.send JSON.stringify(record)
