JXTA

net.jxta.share
Class ListContentRequest

java.lang.Object
  |
  +--net.jxta.share.ListContentRequest

public class ListContentRequest
extends java.lang.Object
implements java.lang.Runnable

This class implements List Content Request. It request a list of content from the given CMS request pipe.


Constructor Summary
ListContentRequest(net.jxta.peergroup.PeerGroup group, net.jxta.protocol.PipeAdvertisement inRequest, net.jxta.protocol.PipeAdvertisement inResult, java.lang.String inSubStr)
           
ListContentRequest(net.jxta.peergroup.PeerGroup group, net.jxta.protocol.PipeAdvertisement inRequest, java.lang.String inSubStr)
           
 
Method Summary
 void cancel()
           
 net.jxta.protocol.PipeAdvertisement getRequestPipe()
           
 net.jxta.share.ContentAdvertisement[] getResults()
           
 boolean isDone()
           
 void notifyDone()
           
 void notifyFailure()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListContentRequest

public ListContentRequest(net.jxta.peergroup.PeerGroup group,
                          net.jxta.protocol.PipeAdvertisement inRequest,
                          java.lang.String inSubStr)
                   throws java.lang.reflect.InvocationTargetException

ListContentRequest

public ListContentRequest(net.jxta.peergroup.PeerGroup group,
                          net.jxta.protocol.PipeAdvertisement inRequest,
                          net.jxta.protocol.PipeAdvertisement inResult,
                          java.lang.String inSubStr)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

isDone

public boolean isDone()

notifyDone

public void notifyDone()

notifyFailure

public void notifyFailure()

cancel

public void cancel()

getResults

public net.jxta.share.ContentAdvertisement[] getResults()

getRequestPipe

public net.jxta.protocol.PipeAdvertisement getRequestPipe()

JXTA