All Packages Class Hierarchy This Package Previous Next Index
Class ajanta.apps.afs.SearchResponse
java.lang.Object
|
+----ajanta.apps.afs.Response
|
+----ajanta.apps.afs.SearchResponse
- public class SearchResponse
- extends Response
This class repesents objects that are returned as a response to
a search request by the file system server thread to the agent's thread.
-
vectRes
-
-
SearchResponse()
- Creates a new vector to contain response objects.
-
addEntry(URN, long)
- Add a result element to the search response vector.
-
print()
- Print all elements in the result vector.
vectRes
public Vector vectRes
SearchResponse
public SearchResponse()
- Creates a new vector to contain response objects.
addEntry
public void addEntry(URN name,
long fr)
- Add a result element to the search response vector.
- Parameters:
- URN - is the name of the file that contained the search string
- fr - is the frequency of occurrences of the search string in that file.
print
public void print()
- Print all elements in the result vector.
- Parameters:
- - - no parameter
- Overrides:
- print in class Response
All Packages Class Hierarchy This Package Previous Next Index