beginGroup(group, index = null) {
    const sockets = this.getSockets(index);
    this.checkRequired(sockets);
    sockets.forEach((socket) => {
      if (!socket) { return; }
      socket.beginGroup(group);
    });
  }
@param {string} group
@param {number|null} [index]