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

Quick Search    Search Deep

Freenet.message
Class DataReply  view DataReply download DataReply.java

java.lang.Object
  extended byFreenet.Message
      extended byFreenet.message.DataSend
          extended byFreenet.message.DataReply

public class DataReply
extends DataSend

This is the DataReply message


Field Summary
static java.lang.String messageName
           
 
Fields inherited from class Freenet.message.DataSend
dataSource, in, length
 
Fields inherited from class Freenet.Message
depth, hopsToLive, id, keepAlive, receivedAt, receivedWith, source
 
Constructor Summary
DataReply(long idnum, long htl, long depth, Freenet.Address dsrc)
           
DataReply(long idnum, long htl, long depth, Freenet.Address dsrc, Freenet.node.Data data)
           
DataReply(Freenet.RawMessage raw)
           
 
Method Summary
 void sending(Freenet.Core n, Freenet.Address peer, Freenet.Address myAddress)
          Called just before the message is sent, and makes any last minute changes.
protected  Freenet.MessageMemory timeOut(Freenet.node.Node n, Freenet.MessageMemory sb)
           
 Freenet.RawMessage toRawMessage()
           
 
Methods inherited from class Freenet.message.DataSend
pReceived
 
Methods inherited from class Freenet.Message
initSources, popField, received, sendBack, 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

DataReply

public DataReply(long idnum,
                 long htl,
                 long depth,
                 Freenet.Address dsrc)

DataReply

public DataReply(long idnum,
                 long htl,
                 long depth,
                 Freenet.Address dsrc,
                 Freenet.node.Data data)
          throws java.io.IOException,
                 Freenet.node.DataNotReadyException

DataReply

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

toRawMessage

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

sending

public void sending(Freenet.Core n,
                    Freenet.Address peer,
                    Freenet.Address myAddress)
             throws Freenet.SendFailedException
Description copied from class: Freenet.Message
Called just before the message is sent, and makes any last minute changes.

Overrides:
sending in class DataSend

timeOut

protected Freenet.MessageMemory timeOut(Freenet.node.Node n,
                                        Freenet.MessageMemory sb)
Overrides:
timeOut in class DataSend