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

Quick Search    Search Deep

Freenet.message
Class DataInsert  view DataInsert download DataInsert.java

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

public class DataInsert
extends DataSend


Field Summary
 boolean fixedsource
           
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
DataInsert(long idnum, long htl, long depth)
           
DataInsert(long idnum, long htl, long depth, Freenet.Address dsrc)
           
DataInsert(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.
 Freenet.RawMessage toRawMessage()
           
 
Methods inherited from class Freenet.message.DataSend
pReceived, timeOut
 
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

fixedsource

public boolean fixedsource
Constructor Detail

DataInsert

public DataInsert(long idnum,
                  long htl,
                  long depth)

DataInsert

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

DataInsert

public DataInsert(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