public abstract class ChecksumArchiveServer extends ArchiveMessageHandler implements CleanupIF
Modifier and Type | Field and Description |
---|---|
protected String |
checksumAppId
The unique id for this instance.
|
protected JMSConnection |
jmsCon
The JMS connection.
|
protected ChannelID |
theCR
The channel used for communication.
|
Constructor and Description |
---|
ChecksumArchiveServer() |
Modifier and Type | Method and Description |
---|---|
abstract void |
cleanup()
Method for cleaning up.
|
abstract String |
getAppId()
Method for retrieving the application id.
|
abstract void |
visit(CorrectMessage msg)
Requiring all inheritors of this interface to handle the CorrectMessage.
|
abstract void |
visit(GetAllChecksumsMessage msg)
Requiring all inheritors of this interface to handle the GetAllChecksumMessage.
|
abstract void |
visit(GetAllFilenamesMessage msg)
Requiring all inheritors of this interface to handle the GetAllFilenamesMessage.
|
abstract void |
visit(GetChecksumMessage msg)
Requiring all inheritors of this interface to handle the GetChecksumMessage.
|
abstract void |
visit(UploadMessage msg)
Requiring all inheritors of this interface to handle the UploadMessage.
|
protected JMSConnection jmsCon
protected String checksumAppId
public ChecksumArchiveServer()
public abstract void cleanup()
public abstract String getAppId()
public abstract void visit(UploadMessage msg)
visit
in interface ArchiveMessageVisitor
visit
in class ArchiveMessageHandler
msg
- The UploadMessage to be handled.public abstract void visit(CorrectMessage msg)
visit
in interface ArchiveMessageVisitor
visit
in class ArchiveMessageHandler
msg
- The CorrectMessage to be handled.public abstract void visit(GetChecksumMessage msg)
visit
in interface ArchiveMessageVisitor
visit
in class ArchiveMessageHandler
msg
- The GetChecksumMessage to be handled.public abstract void visit(GetAllChecksumsMessage msg)
visit
in interface ArchiveMessageVisitor
visit
in class ArchiveMessageHandler
msg
- The GetAllChecksumMessage to be handled.public abstract void visit(GetAllFilenamesMessage msg)
visit
in interface ArchiveMessageVisitor
visit
in class ArchiveMessageHandler
msg
- The GetAllFilenamesMessage to be handled.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.