protected class ENCRYPT.Decrypter extends java.lang.Object implements MessageBatch.Visitor<Message>
Modifier and Type | Field and Description |
---|---|
protected javax.crypto.Cipher |
cipher |
protected java.util.concurrent.locks.Lock |
lock |
Modifier | Constructor and Description |
---|---|
protected |
Decrypter() |
Modifier and Type | Method and Description |
---|---|
protected void |
queueUpMessage(Message msg,
MessageBatch batch) |
protected void |
unlock() |
Message |
visit(Message msg,
MessageBatch batch)
Called when iterating over the message batch
|
protected java.util.concurrent.locks.Lock lock
protected javax.crypto.Cipher cipher
public Message visit(Message msg, MessageBatch batch)
MessageBatch.Visitor
visit
in interface MessageBatch.Visitor<Message>
msg
- The message, can be nullprotected void unlock()
protected void queueUpMessage(Message msg, MessageBatch batch)
Copyright © 1998-2020 Red Hat. All Rights Reserved.