Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Freenet.contrib.fproxy
Class ProxyClient  view ProxyClient download ProxyClient.java

java.lang.Object
  extended byFreenet.contrib.fproxy.ProxyClient

public class ProxyClient
extends java.lang.Object

Wrapper to send Freenet requests on behalf of the HttpHandler


Field Summary
private  long htl
           
private  Freenet.ListeningAddress lstaddr
           
private  java.io.OutputStream out
           
 Freenet.client.RequestClient rc
           
private  java.lang.String serverAddress
           
 
Constructor Summary
ProxyClient(int listenPort, java.lang.String serverAddress, long htl, java.io.OutputStream out)
          Creates a new ProxyClient with the given parameters
 
Method Summary
 void request(java.lang.String keyString)
          Main routine to wrap a Freenet request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rc

public Freenet.client.RequestClient rc

lstaddr

private Freenet.ListeningAddress lstaddr

serverAddress

private java.lang.String serverAddress

htl

private long htl

out

private java.io.OutputStream out
Constructor Detail

ProxyClient

public ProxyClient(int listenPort,
                   java.lang.String serverAddress,
                   long htl,
                   java.io.OutputStream out)
Creates a new ProxyClient with the given parameters

Method Detail

request

public void request(java.lang.String keyString)
Main routine to wrap a Freenet request