|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--at.ac.tuwien.infosys.rnue.helpers.search.SearchResponseImpl
An object of the SearchResponseImpl
class represents
the search result form a single ShareMe peer. An object of this
type is returned by a remote search on a ShareMe peer. It provides
an constructor to create a new SearchResponseImpl object and
methods to to query the encapsulated variables.
Constructor Summary | |
SearchResponseImpl(IFileList fileList,
byte[] sig)
Constructs an instance of the SearchResponseImpl class. |
Method Summary | |
IFileList |
getFileList()
Returns the list of files ( IFileList ) at
the remote peer matching the search request. |
byte[] |
getSignature()
Returns the signature of this search response. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SearchResponseImpl(IFileList fileList, byte[] sig)
fileList
- List of files (IFileList
) in
the locale file base matching the search request.sig
- Signature of the search query. The signature is
generated using the sign
method of the ISecurityHelper
class. (Takes the value null
for task 2.)Method Detail |
public IFileList getFileList()
IFileList
) at
the remote peer matching the search request.
getFileList
in interface ISearchResponse
public byte[] getSignature()
getSignature
in interface ISearchResponse
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |