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

Quick Search    Search Deep

Freenet.message
Class InsertRequest  view InsertRequest download InsertRequest.java

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

public class InsertRequest
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
InsertRequest(long idnum, long htl, long depth, Freenet.Key key)
           
InsertRequest(Freenet.RawMessage raw)
           
 
Method Summary
protected  void dataFound(Freenet.node.Data data, Freenet.node.Node n)
           
static KeyedMM failedTimedOut(Freenet.node.Node n, long id, KeyedMM kmm)
           
protected  void refFound(Freenet.Address ref, Freenet.node.Node n)
           
protected  Freenet.MessageMemory timeOut(Freenet.node.Node n, Freenet.MessageMemory mm)
           
 Freenet.RawMessage toRawMessage()
           
 
Methods inherited from class Freenet.message.Request
pReceived
 
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

InsertRequest

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

InsertRequest

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

toRawMessage

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

failedTimedOut

public static KeyedMM failedTimedOut(Freenet.node.Node n,
                                     long id,
                                     KeyedMM kmm)

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

timeOut

protected Freenet.MessageMemory timeOut(Freenet.node.Node n,
                                        Freenet.MessageMemory mm)
Overrides:
timeOut in class Request