JXTA

net.jxta.instantp2p
Class SearchResult

java.lang.Object
  |
  +--net.jxta.instantp2p.SearchResult

public class SearchResult
extends java.lang.Object

A class that encapsulates a search result. A seach result contains a PipeAdvertisment indicating the pipe over which to get the file and a ContentAdvertisment describing the discovered file.


Field Summary
 net.jxta.share.ContentAdvertisement contentAdv
          The ContentAdvertisment describing the discovered file
 net.jxta.protocol.PipeAdvertisement pipeAdv
          The PipeAdvertisment pointing to the discovered file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pipeAdv

public net.jxta.protocol.PipeAdvertisement pipeAdv
The PipeAdvertisment pointing to the discovered file

contentAdv

public net.jxta.share.ContentAdvertisement contentAdv
The ContentAdvertisment describing the discovered file

JXTA