public interface NodeProtocolSender
| Modifier and Type | Method and Description |
|---|---|
void |
heartbeat(HeartbeatMessage msg,
String address)
Sends a heartbeat to the address given
|
ConnectionResponseMessage |
requestConnection(ConnectionRequestMessage msg)
Sends a "connection request" message to the cluster manager.
|
ConnectionResponseMessage requestConnection(ConnectionRequestMessage msg) throws ProtocolException, UnknownServiceAddressException
msg - a messageUnknownServiceAddressException - if the cluster manager's address
is not knownProtocolException - if communication failedvoid heartbeat(HeartbeatMessage msg, String address) throws ProtocolException
msg - the heartbeat message to sendaddress - the address of the Cluster Coordinator in <hostname>:<port> formatProtocolException - if unable to send the heartbeatCopyright © 2016 Apache NiFi Project. All rights reserved.