public interface NodeProtocolSender
| Modifier and Type | Method and Description |
|---|---|
void |
heartbeat(HeartbeatMessage msg)
Sends a "heartbeat" message to the cluster manager.
|
void |
notifyControllerStartupFailure(ControllerStartupFailureMessage msg)
Sends a failure notification if the controller was unable start.
|
void |
notifyReconnectionFailure(ReconnectionFailureMessage msg)
Sends a failure notification if the node was unable to reconnect to the cluster
|
ConnectionResponseMessage |
requestConnection(ConnectionRequestMessage msg)
Sends a "connection request" message to the cluster manager.
|
void |
sendBulletins(NodeBulletinsMessage msg)
Sends a bulletins 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) throws ProtocolException, UnknownServiceAddressException
msg - a messageUnknownServiceAddressException - if the cluster manager's address is not knownProtocolException - if communication failedvoid sendBulletins(NodeBulletinsMessage msg) throws ProtocolException, UnknownServiceAddressException
msg - ProtocolExceptionUnknownServiceAddressExceptionvoid notifyControllerStartupFailure(ControllerStartupFailureMessage msg) throws ProtocolException, UnknownServiceAddressException
msg - a messageUnknownServiceAddressException - if the cluster manager's address is not knownProtocolException - if communication failedvoid notifyReconnectionFailure(ReconnectionFailureMessage msg) throws ProtocolException, UnknownServiceAddressException
msg - a messageUnknownServiceAddressException - if the cluster manager's address is not knownProtocolException - if communication failedCopyright © 2015 Apache NiFi(incubating) Project. All rights reserved.