code: function(hostName, appName) {
        var t = this;
        return t.connections.filter(function(conn) {
  
          // Host or app matches if not specified or if specified and equal
          var matchesHost = !hostName || conn.isThisHost(hostName);
          var matchesApp = !appName || appName === conn.get('remoteAppName');
          var remoteFirewall = conn.get('remoteFirewall');
  
          // This is a match if host + app matches, and it's not firewalled
          return (!remoteFirewall && matchesHost && matchesApp);
        });
      }
docs: Find all connections matching the selection criteria
  
  This method looks into the existing known connections to find all
  that match the specified parameters.
  
  Firewalled connections are not returned.
  
  @method findConnections
  @protected
  @param hostName {String} - Host name to search for (null = any host)
  @param appName {String} - App name to search for (null = any app)
  @return connections {Array of Connection} - An array of Connection objects matching the criteria