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

Quick Search    Search Deep

Freenet.message
Class DataRequest  view DataRequest download DataRequest.java

java.lang.Object
  extended byFreenet.Message
      extended byFreenet.message.Request
          extended byFreenet.message.DataRequest

public class DataRequest
extends Request


Nested Class Summary
 
Nested classes inherited from class Freenet.message.Request
Request.RequestAbortException
 
Field Summary
static java.lang.String messageName
           
 
Fields inherited from class Freenet.message.Request
searchKey
 
Fields inherited from class Freenet.Message
depth, hopsToLive, id, keepAlive, receivedAt, receivedWith, source
 
Constructor Summary
DataRequest(long idnum, long htl, long depth, Freenet.Key key)
           
DataRequest(Freenet.RawMessage raw)
           
 
Method Summary
protected  void dataFound(Freenet.node.Data data, Freenet.node.Node n)
           
protected  void refFound(Freenet.Address ref, Freenet.node.Node n)
           
 Freenet.RawMessage toRawMessage()
           
 
Methods inherited from class Freenet.message.Request
failedTimedOut, pReceived, timeOut
 
Methods inherited from class Freenet.Message
initSources, popField, received, sendBack, sending, sending, sendReply, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

messageName

public static final java.lang.String messageName
See Also:
Constant Field Values
Constructor Detail

DataRequest

public DataRequest(long idnum,
                   long htl,
                   long depth,
                   Freenet.Key key)

DataRequest

public DataRequest(Freenet.RawMessage raw)
            throws Freenet.InvalidMessageException
Method Detail

toRawMessage

public Freenet.RawMessage toRawMessage()
Overrides:
toRawMessage in class Request

refFound

protected void refFound(Freenet.Address ref,
                        Freenet.node.Node n)
                 throws Request.RequestAbortException
Specified by:
refFound in class Request

dataFound

protected void dataFound(Freenet.node.Data data,
                         Freenet.node.Node n)
                  throws Request.RequestAbortException
Specified by:
dataFound in class Request