code: function Channel(connection, spec) {
      this.connection = connection;
      this.channelId = spec.channelId;
      this.canPublish = spec.canPublish;
      this.subscribedTopics = [];
      this.fireCallbacks = {};
      this.prepareCallbacks = {};
  
      ObjectFsm(this);
      this.initStateMachine();
  
      /* Hackery */
      this.reportTransition('uninitialized');
  }
docs: Channel constructor
  @param connection
  @param {Object} spec Connection options
  @param {string} spec.channelId The channel identifier
  @param {Boolean} spec.isPublisher Flag whether or not user can publish to this channel
  @constructor
  @public