public class HarvesterReadyMessage extends HarvesterMessage implements Serializable
HarvesterReadyMessage
s to the JobDispatcher to
notify it whether it is available for processing a job or already processing one.replyOfId
Constructor and Description |
---|
HarvesterReadyMessage(String applicationInstanceId,
String harvestChannelName)
Builds a new message.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(HarvesterMessageVisitor v)
Should be implemented as a part of the visitor pattern.
|
String |
getApplicationInstanceId() |
String |
getHarvestChannelName() |
String |
getHostName() |
getErrMsg, getID, getReplyOfId, getReplyTo, getTo, hasBeenSent, isOk, setNotOk, setNotOk, toString
public HarvesterReadyMessage(String applicationInstanceId, String harvestChannelName)
harvestChannelName
- the channel of jobs crawled by the sender.applicationInstanceId
- the sender's application instance ID.public void accept(HarvesterMessageVisitor v)
HarvesterMessage
accept
in class HarvesterMessage
v
- A message visitorpublic String getHarvestChannelName()
public String getApplicationInstanceId()
public String getHostName()
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.