public class GetAllFilenamesMessage extends ArchiveMessage
replyOfId
Constructor and Description |
---|
GetAllFilenamesMessage(ChannelID to,
ChannelID replyTo,
String repId)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(ArchiveMessageVisitor v)
Accept this message.
|
void |
getData(File toFile)
Method for retrieving the resulting file.
|
String |
getReplicaId()
Method for retrieving the id for the replica where this message should be sent.
|
void |
setFile(File file)
Method for setting the resulting file.
|
String |
toString()
Retrieval of a string representation of this instance.
|
getErrMsg, getID, getReplyOfId, getReplyTo, getTo, hasBeenSent, isOk, setNotOk, setNotOk
public GetAllFilenamesMessage(ChannelID to, ChannelID replyTo, String repId)
to
- The channel the message is sent to.replyTo
- The channel the reply is sent to.repId
- The id of the replica.public void setFile(File file)
file
- The file with the checksum message.public void getData(File toFile)
toFile
- The file for the remotely retrieved content.public String getReplicaId()
public String toString()
toString
in class NetarkivetMessage
public void accept(ArchiveMessageVisitor v)
accept
in class ArchiveMessage
v
- The message visitor accepting this message.ArchiveMessageVisitor
Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.