tapestry.interweave
Class InterweaveFileRequestMsg

java.lang.Object
  |
  +--tapestry.api.TapestryRouteMsg
        |
        +--tapestry.interweave.InterweaveFileRequestMsg
All Implemented Interfaces:
QueueElementIF, QuickSerializable

public class InterweaveFileRequestMsg
extends TapestryRouteMsg
implements QuickSerializable

InterweaveFileRequestMsg.java The message that carries a request for the file FILENAME on PEER

Author:
Benjamin K. Poon

Field Summary
 String filename
           
 SecureHash from
           
 
Fields inherited from class tapestry.api.TapestryRouteMsg
hopCount, inbound, peer, qos, TTL
 
Constructor Summary
InterweaveFileRequestMsg(InputBuffer buffer)
           
InterweaveFileRequestMsg(SecureHash to, SecureHash from, String filename)
           
 
Method Summary
 Object clone()
           
 void serialize(OutputBuffer buffer)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

from

public SecureHash from

filename

public String filename
Constructor Detail

InterweaveFileRequestMsg

public InterweaveFileRequestMsg(SecureHash to,
                                SecureHash from,
                                String filename)

InterweaveFileRequestMsg

public InterweaveFileRequestMsg(InputBuffer buffer)
                         throws QSException
Method Detail

serialize

public void serialize(OutputBuffer buffer)
Specified by:
serialize in interface QuickSerializable
Overrides:
serialize in class TapestryRouteMsg

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class Object
CloneNotSupportedException

toString

public String toString()
Overrides:
toString in class Object