PageBoxLib
Class MatchingEntry

java.lang.Object
  extended byPageBoxLib.MatchingEntry

public class MatchingEntry
extends java.lang.Object

Entries in the ActiveNaming.getCandidate array list and in ActiveResult.

alexis.grandemange@pagebox.net

Copyright (c) 2002-2004 Alexis Grandemange

This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public License
 as published by the Free Software Foundation; version 2.1 of the
 License.
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU Lesser General Public License for more details.
 A copy of the GNU Lesser General Public License lesser.txt should be
 included in the distribution.

Version:
0, 0, 13
Author:
Alexis Grandemange

Field Summary
 ActiveEntry ae
          Service data (must, niceif and URL
 int distance
          Distance between this entry and another entry (niceif comparison)
 ResourceUsage ru
          Hosting PageBox resource usage
 
Constructor Summary
(package private) MatchingEntry()
          Default constructor.
(package private) MatchingEntry(ActiveEntry ae, ResourceUsage ru)
          Constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ae

public ActiveEntry ae
Service data (must, niceif and URL


ru

public ResourceUsage ru
Hosting PageBox resource usage


distance

public int distance
Distance between this entry and another entry (niceif comparison)

Constructor Detail

MatchingEntry

MatchingEntry(ActiveEntry ae,
              ResourceUsage ru)
Constructor.

Parameters:
ae - service data
ru - PageBox resource usage

MatchingEntry

MatchingEntry()
Default constructor.