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

Quick Search    Search Deep

Freenet.message
Class HandshakeReply  view HandshakeReply download HandshakeReply.java

java.lang.Object
  extended byFreenet.Message
      extended byFreenet.Handshake
          extended byFreenet.message.HandshakeReply

public class HandshakeReply
extends Freenet.Handshake

This is the superclass of all handshakes


Field Summary
 java.lang.String build
           
static java.lang.String messageName
           
 java.lang.String revision
           
 java.lang.String version
           
 
Fields inherited from class Freenet.Message
depth, hopsToLive, id, keepAlive, receivedAt, receivedWith, source
 
Constructor Summary
HandshakeReply(long idnum)
           
HandshakeReply(Freenet.RawMessage raw)
           
 
Method Summary
 boolean check()
           
 Freenet.MessageMemory pReceived(Freenet.node.Node n, Freenet.MessageMemory sb)
          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

messageName

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

version

public java.lang.String version

build

public java.lang.String build

revision

public java.lang.String revision
Constructor Detail

HandshakeReply

public HandshakeReply(long idnum)

HandshakeReply

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

toRawMessage

public Freenet.RawMessage toRawMessage()

check

public boolean check()

pReceived

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


timeOut

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