|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.common.distribute.NetarkivetMessage dk.netarkivet.archive.distribute.ArchiveMessage dk.netarkivet.archive.checksum.distribute.GetAllFilenamesMessage
public class GetAllFilenamesMessage
The GetAllFilenamesMessage is sent to retrieve all the filenames in a specific replica. The result is a file in the same format as a FilelistJob.
Field Summary |
---|
Fields inherited from class dk.netarkivet.common.distribute.NetarkivetMessage |
---|
replyOfId |
Constructor Summary | |
---|---|
GetAllFilenamesMessage(ChannelID to,
ChannelID replyTo,
java.lang.String repId)
Constructor. |
Method Summary | |
---|---|
void |
accept(ArchiveMessageVisitor v)
Accept this message. |
void |
getData(java.io.File toFile)
Method for retrieving the resulting file. |
java.lang.String |
getReplicaId()
Method for retrieving the id for the replica where this message should be sent. |
void |
setFile(java.io.File file)
Method for setting the resulting file. |
java.lang.String |
toString()
Retrieval of a string representation of this instance. |
Methods inherited from class dk.netarkivet.common.distribute.NetarkivetMessage |
---|
getErrMsg, getID, getReplyOfId, getReplyTo, getTo, hasBeenSent, isOk, setNotOk, setNotOk |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GetAllFilenamesMessage(ChannelID to, ChannelID replyTo, java.lang.String repId)
to
- The channel the message is sent to.replyTo
- The channel the reply is sent to.repId
- The id of the replica.Method Detail |
---|
public void setFile(java.io.File file)
file
- The file with the checksum message.public void getData(java.io.File toFile)
toFile
- The file for the remotely retrieved content.public java.lang.String getReplicaId()
public java.lang.String toString()
toString
in class NetarkivetMessage
public void accept(ArchiveMessageVisitor v)
accept
in class ArchiveMessage
v
- The message visitor accepting this message.ArchiveMessageVisitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |