fabric.dissemination.pastry.messages
Class Replicate.Reply

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

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

A reply to a replicate message, carrying the requested objects. This is sent by a decider node which decides what objects the sender of the replicate message should receive base on object popularity.


Constructor Summary
Replicate.Reply(InputBuffer buf)
          Deserialization constructor.
Replicate.Reply(java.util.Map<Pair<Store,java.lang.Long>,Glob> globs)
           
 
Method Summary
 int getPriority()
           
 short getType()
           
 java.util.Map<Pair<Store,java.lang.Long>,Glob> globs()
           
 void serialize(OutputBuffer buf)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Replicate.Reply

public Replicate.Reply(java.util.Map<Pair<Store,java.lang.Long>,Glob> globs)

Replicate.Reply

public Replicate.Reply(InputBuffer buf)
                throws java.io.IOException
Deserialization constructor.

Throws:
java.io.IOException
Method Detail

globs

public java.util.Map<Pair<Store,java.lang.Long>,Glob> globs()

getPriority

public int getPriority()

getType

public short getType()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

serialize

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