public class DummyAccountant extends AbstractDaemon implements Accountant
A dummy accountant always agreeing to all transactions.
Constructor and Description |
---|
DummyAccountant(String section) |
Modifier and Type | Method and Description |
---|---|
int |
verifyHeaderForProcessing(IdentityBlock header)
Dummy Verifier always returning for all requests an unlimited quota.
|
shutdownDaemon, startDaemon, stopDaemon
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shutdownDaemon, startDaemon, stopDaemon
public DummyAccountant(String section)
public int verifyHeaderForProcessing(IdentityBlock header)
Dummy Verifier always returning for all requests an unlimited quota.
verifyHeaderForProcessing
in interface HeaderVerifier
header
- the header to be verifiedCopyright © 2023. All rights reserved.