|
||||||||||
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
public abstract class ArchiveMessage
Common base class for messages exchanged between an archive server and an archive client (or within an archive).
NetarkivetMessage
,
Serialized FormField Summary |
---|
Fields inherited from class dk.netarkivet.common.distribute.NetarkivetMessage |
---|
replyOfId |
Constructor Summary | |
---|---|
protected |
ArchiveMessage(ChannelID to,
ChannelID replyTo)
Creates a new ArchiveMessage. |
Method Summary | |
---|---|
abstract void |
accept(ArchiveMessageVisitor v)
Should be implemented as a part of the visitor pattern. |
Methods inherited from class dk.netarkivet.common.distribute.NetarkivetMessage |
---|
getErrMsg, getID, getReplyOfId, getReplyTo, getTo, hasBeenSent, isOk, setNotOk, setNotOk, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected ArchiveMessage(ChannelID to, ChannelID replyTo) throws ArgumentNotValid
to
- the initial receiver of the messagereplyTo
- the initial sender of the message
ArgumentNotValid
- if to==replyTo or there is a null parameter.Method Detail |
---|
public abstract void accept(ArchiveMessageVisitor v)
v
- A message visitorArchiveMessageVisitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |