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

Quick Search    Search Deep

Class RequestFailed  view RequestFailed download

  extended byFreenet.Message
      extended byFreenet.message.RequestFailed

public class RequestFailed
extends Freenet.Message

This message is sent by a node which cannot locate a piece of data. If received by a node, it should either forward it back to whichever node sent the request to it, or should send another request to find the data.

Field Summary
static java.lang.String messageName
Fields inherited from class Freenet.Message
depth, hopsToLive, id, keepAlive, receivedAt, receivedWith, source
Constructor Summary
RequestFailed(long idnum, long htl)
RequestFailed(Freenet.RawMessage m)
Method Summary
 Freenet.MessageMemory pReceived(Freenet.node.Node n, Freenet.MessageMemory mm)
          An overridable version of the received message.
protected  Freenet.MessageMemory timeOut(Freenet.node.Node n, Freenet.MessageMemory sb)
 Freenet.RawMessage toRawMessage()
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


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


public RequestFailed(Freenet.RawMessage m)
              throws Freenet.InvalidMessageException


public RequestFailed(long idnum,
                     long htl)
Method Detail


public Freenet.RawMessage toRawMessage()


public Freenet.MessageMemory pReceived(Freenet.node.Node n,
                                       Freenet.MessageMemory mm)
Description copied from class: Freenet.Message
An overridable version of the received message.


protected Freenet.MessageMemory timeOut(Freenet.node.Node n,
                                        Freenet.MessageMemory sb)