public class IndexReadyMessage extends HarvesterMessage
replyOfId
Constructor and Description |
---|
IndexReadyMessage(Long harvestId,
boolean indexIsOK,
ChannelID to,
ChannelID replyTo)
Constructor for the IndexReadyMessage.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(HarvesterMessageVisitor v)
Should be implemented as a part of the visitor pattern.
|
Long |
getHarvestId() |
boolean |
getIndexOK()
Is the index OK.
|
getErrMsg, getID, getReplyOfId, getReplyTo, getTo, hasBeenSent, isOk, setNotOk, setNotOk, toString
public IndexReadyMessage(Long harvestId, boolean indexIsOK, ChannelID to, ChannelID replyTo)
harvestId
- The harvestId that requires the index.indexIsOK
- is the index now OK or notto
- The destination channelreplyTo
- The channel to reply to (not really used).public Long getHarvestId()
public void accept(HarvesterMessageVisitor v)
HarvesterMessage
accept
in class HarvesterMessage
v
- A message visitorpublic boolean getIndexOK()
Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.