fabric.dissemination.pastry.messages
Class Fetch.Reply

java.lang.Object
  extended by fabric.dissemination.pastry.messages.Fetch.Reply
Enclosing class:
Fetch

public static class Fetch.Reply
extends java.lang.Object

A reply to a Fetch message. Should carry the object requested by the original fetch message.


Constructor Summary
Fetch.Reply(Fetch parent, Glob glob)
           
Fetch.Reply(InputBuffer buf, Endpoint endpoint)
          Deserialization constructor.
 
Method Summary
 int getPriority()
           
 short getType()
           
 Glob glob()
          The glob returned.
 Id id()
          The id of this message.
 long onum()
          The object number of the requested object.
 void serialize(OutputBuffer buf)
           
 java.lang.String store()
          The store where the requested object resides.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fetch.Reply

public Fetch.Reply(Fetch parent,
                   Glob glob)

Fetch.Reply

public Fetch.Reply(InputBuffer buf,
                   Endpoint endpoint)
            throws java.io.IOException
Deserialization constructor.

Throws:
java.io.IOException
Method Detail

glob

public Glob glob()
The glob returned.


id

public Id id()
The id of this message.


store

public java.lang.String store()
The store where the requested object resides.


onum

public long onum()
The object number of the requested object.


getPriority

public int getPriority()

getType

public short getType()

serialize

public void serialize(OutputBuffer buf)
               throws java.io.IOException
Throws:
java.io.IOException