|
||||||||||
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.arcrepository.distribute.StoreMessage
public class StoreMessage
Messages requesting store of file. This message is sent to the arc repository which distributes the file to the known bitarchives, and checks the result, and then responds to the sender.
Field Summary |
---|
Fields inherited from class dk.netarkivet.common.distribute.NetarkivetMessage |
---|
replyOfId |
Constructor Summary | |
---|---|
StoreMessage(ChannelID replyTo,
java.io.File arcfile)
Construct StoreMessage. |
Method Summary | |
---|---|
void |
accept(ArchiveMessageVisitor v)
Should be implemented as a part of the visitor pattern. |
java.lang.String |
getArcfileName()
Retrieve name of the stored file. |
RemoteFile |
getRemoteFile()
Get method for field theRemoteFile. |
java.lang.String |
toString()
Generate String representation of this object. |
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 StoreMessage(ChannelID replyTo, java.io.File arcfile)
replyTo
- Channel to reply back toarcfile
- The file to storeMethod Detail |
---|
public java.lang.String getArcfileName()
public RemoteFile getRemoteFile()
public void accept(ArchiveMessageVisitor v)
accept
in class ArchiveMessage
v
- A message visitorArchiveMessageVisitor
public java.lang.String toString()
toString
in class NetarkivetMessage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |