public interface NodeProtocolSender
| Modifier and Type | Method and Description |
|---|---|
ClusterWorkloadResponseMessage |
clusterWorkload(ClusterWorkloadRequestMessage msg)
Sends a "cluster workflow request" message to the Cluster Coordinator.
|
HeartbeatResponseMessage |
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 failedHeartbeatResponseMessage 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 heartbeatClusterWorkloadResponseMessage clusterWorkload(ClusterWorkloadRequestMessage msg) throws ProtocolException
msg - a request messageProtocolException - if communication failedCopyright © 2020 Apache NiFi Project. All rights reserved.