public class StoreMessage extends ArchiveMessage
replyOfId
Constructor and Description |
---|
StoreMessage(ChannelID replyTo,
File arcfile)
Construct StoreMessage.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(ArchiveMessageVisitor v)
Should be implemented as a part of the visitor pattern.
|
String |
getArcfileName()
Retrieve name of the stored file.
|
String |
getPrecomputedChecksum() |
RemoteFile |
getRemoteFile()
Get method for field theRemoteFile.
|
String |
toString()
Generate String representation of this object.
|
getErrMsg, getID, getReplyOfId, getReplyTo, getTo, hasBeenSent, isOk, setNotOk, setNotOk
public StoreMessage(ChannelID replyTo, File arcfile)
replyTo
- Channel to reply back toarcfile
- The file to storepublic String getArcfileName()
public String getPrecomputedChecksum()
public RemoteFile getRemoteFile()
public void accept(ArchiveMessageVisitor v)
accept
in class ArchiveMessage
v
- A message visitorArchiveMessageVisitor
public String toString()
toString
in class NetarkivetMessage
Copyright © 2005–2018 The Royal Danish Library, the National Library of France and the Austrian National Library.. All rights reserved.