public interface ProtocolHandler
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(ProtocolMessage msg) |
ProtocolMessage |
handle(ProtocolMessage msg)
Handles the given protocol message or throws an exception if it cannot
handle the message.
|
ProtocolMessage handle(ProtocolMessage msg) throws ProtocolException
msg - a messageProtocolException - if the message could not be processedboolean canHandle(ProtocolMessage msg)
msg - a messageCopyright © 2015 Apache NiFi(incubating) Project. All rights reserved.