public class BatchTerminationMessage extends NetarkivetMessage
replyOfId
Constructor and Description |
---|
BatchTerminationMessage(ChannelID to,
ChannelID replyTo,
String batchID)
Constructor.
|
BatchTerminationMessage(ChannelID to,
String batchID)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getTerminateID()
Method for retrieving the ID of the batchjob to terminate.
|
String |
toString()
Extends the default toString of NetarkiveMessage with the terminateID.
|
getErrMsg, getID, getReplyOfId, getReplyTo, getTo, hasBeenSent, isOk, setNotOk, setNotOk
public BatchTerminationMessage(ChannelID to, String batchID) throws ArgumentNotValid
to
- Where the message should be sent.batchID
- The ID of the batchjob to terminate.ArgumentNotValid
- If the batchID is either null or the empty string.public BatchTerminationMessage(ChannelID to, ChannelID replyTo, String batchID) throws ArgumentNotValid
to
- Where the message should be sent.replyTo
- Where the message is sent from.batchID
- The ID of the batchjob to terminate.ArgumentNotValid
- If the batchID is either null or the empty string.public String getTerminateID()
public String toString()
toString
in class NetarkivetMessage
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.