code: function Agent(session, agentInfo) {
    this.info         = utils.roCopy(agentInfo)
    this._session     = session
    this._isDestroyed = false
    this._receiveCBs  = new SMap()
  }
docs: ------------------------------------------------------------------------------