JXTA

net.jxta.impl.proxy
Class Requestor

java.lang.Object
  extended by net.jxta.impl.proxy.Requestor

public class Requestor
extends Object


Method Summary
static Requestor createRequestor(PeerGroup group, Message message, EndpointAddress address, int threshold)
           
 boolean equals(Object obj)
          
(package private)  int getThreshold()
           
 int hashCode()
          
 boolean notifyError(String errorString)
           
 boolean notifySuccess()
           
 boolean send(Advertisement adv, String resultType)
           
 boolean send(Message message)
           
(package private)  void setThreshold(int threshold)
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

send

public boolean send(Message message)

send

public boolean send(Advertisement adv,
                    String resultType)

notifySuccess

public boolean notifySuccess()

notifyError

public boolean notifyError(String errorString)

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

toString

public String toString()

Overrides:
toString in class Object

createRequestor

public static Requestor createRequestor(PeerGroup group,
                                        Message message,
                                        EndpointAddress address,
                                        int threshold)
                                 throws IOException
Throws:
IOException

setThreshold

void setThreshold(int threshold)

getThreshold

int getThreshold()

JXSE