public class HarvesterRegistrationRequest extends HarvesterMessage
The message is sent on a dedicated queue, and processed by the HarvestMonitor
, which checks if the channel
name matches a channel defined in the harvest database.
In reply a HarvesterRegistrationResponse
is sent back.
replyOfId
Constructor and Description |
---|
HarvesterRegistrationRequest(String harvestChannelName,
String instanceId) |
Modifier and Type | Method and Description |
---|---|
void |
accept(HarvesterMessageVisitor v)
Should be implemented as a part of the visitor pattern.
|
String |
getHarvestChannelName() |
String |
getHostname() |
String |
getInstanceId() |
getErrMsg, getID, getReplyOfId, getReplyTo, getTo, hasBeenSent, isOk, setNotOk, setNotOk, toString
public HarvesterRegistrationRequest(String harvestChannelName, String instanceId)
public void accept(HarvesterMessageVisitor v)
HarvesterMessage
accept
in class HarvesterMessage
v
- A message visitorpublic final String getHarvestChannelName()
public final String getInstanceId()
public final 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.