public interface ProtocolHandler
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(ProtocolMessage msg) |
ProtocolMessage |
handle(ProtocolMessage msg,
Set<String> nodeIdentities)
Handles the given protocol message or throws an exception if it cannot
handle the message.
|
ProtocolMessage handle(ProtocolMessage msg, Set<String> nodeIdentities) throws ProtocolException
msg - a messagenodeIdentities - the set of identities for this nodeProtocolException - if the message could not be processedboolean canHandle(ProtocolMessage msg)
msg - a messageCopyright © 2020 Apache NiFi Project. All rights reserved.