public interface ClientProtocol extends VersionedRemoteResource
| Modifier and Type | Method and Description |
|---|---|
Set<PeerStatus> |
getPeerStatuses(Peer currentPeer) |
void |
handshake(Peer peer) |
boolean |
isDestinationFull() |
boolean |
isPortInvalid() |
boolean |
isPortUnknown() |
FlowFileCodec |
negotiateCodec(Peer peer) |
void |
shutdown(Peer peer) |
Transaction |
startTransaction(Peer peer,
FlowFileCodec codec,
TransferDirection direction) |
getResourceName, getVersionNegotiatorvoid handshake(Peer peer) throws IOException, HandshakeException, UnknownPortException, PortNotRunningException
Set<PeerStatus> getPeerStatuses(Peer currentPeer) throws IOException, ProtocolException
IOExceptionProtocolExceptionFlowFileCodec negotiateCodec(Peer peer) throws IOException, ProtocolException
IOExceptionProtocolExceptionvoid shutdown(Peer peer) throws IOException, ProtocolException
IOExceptionProtocolExceptionTransaction startTransaction(Peer peer, FlowFileCodec codec, TransferDirection direction) throws IOException
IOExceptionboolean isPortInvalid()
throws IllegalStateException
true if remote instance indicates that the port is
invalidIllegalStateException - if a handshake has not successfully
completedboolean isPortUnknown()
true if remote instance indicates that the port is
unknownIllegalStateException - if a handshake has not successfully
completedboolean isDestinationFull()
true if remote instance indicates that the port's
destination is fullIllegalStateException - if a handshake has not successfully
completedCopyright © 2023 Apache NiFi Project. All rights reserved.