Project JXTA

net.jxta.ext.http
Class Dispatcher

java.lang.Object
  extended bynet.jxta.ext.http.Dispatcher

public class Dispatcher
extends Object

Version:
$Id: Dispatcher.java,v 1.3 2004/05/18 22:00:52 gonzo Exp $
Author:
james todd [gonzo at jxta dot org]

Constructor Summary
Dispatcher(URL u)
           
Dispatcher(URL u, long maxWait)
           
Dispatcher(URL u, Message msg)
           
Dispatcher(URL u, Message msg, long maxWait)
           
 
Method Summary
 Message dispatch()
           
 Dispatchable getDispatchable()
           
static Dispatchable getDispatchable(URL u, Message msg)
           
 long getMaxWait()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dispatcher

public Dispatcher(URL u)

Dispatcher

public Dispatcher(URL u,
                  long maxWait)

Dispatcher

public Dispatcher(URL u,
                  Message msg)

Dispatcher

public Dispatcher(URL u,
                  Message msg,
                  long maxWait)
Method Detail

getDispatchable

public static Dispatchable getDispatchable(URL u,
                                           Message msg)

getDispatchable

public Dispatchable getDispatchable()

getMaxWait

public long getMaxWait()

dispatch

public Message dispatch()
                 throws IOException
Throws:
IOException

JXTA J2SE