getRingConnection(id) {
    for (var i = 0; i < this.ringConnections.length; i++) {
      if (this.ringConnections[i].id == id) {
        return this.ringConnections[i];
      }
    }
  }
Get a ring connection with a given id.

@param {Number} id 
@returns {RingConnection} The ring connection with the specified id.