com.caucho.server.repository
Class RequestFile

java.lang.Object
  extended by com.caucho.server.repository.RequestFile
All Implemented Interfaces:
java.io.Serializable

public class RequestFile
extends java.lang.Object
implements java.io.Serializable

Request a file from a server.

See Also:
Serialized Form

Constructor Summary
RequestFile(java.lang.String from, java.lang.String sha1)
          Creates a request for a file
 
Method Summary
 java.lang.String getFrom()
          Returns the address of the server that needs the file
 java.lang.String getSha1()
          Returns the sha1 hash of the file that's been requested.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestFile

public RequestFile(java.lang.String from,
                   java.lang.String sha1)
Creates a request for a file

Method Detail

getSha1

public java.lang.String getSha1()
Returns the sha1 hash of the file that's been requested.


getFrom

public java.lang.String getFrom()
Returns the address of the server that needs the file


toString

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