Package org.apache.nifi.remote
Interface Communicant
- All Known Implementing Classes:
Peer
public interface Communicant
Represents the remote entity that the client is communicating with
-
Method Summary
Modifier and TypeMethodDescriptioncreateTransitUri
(String sourceFlowFileIdentifier) getHost()
int
getPort()
getUrl()
-
Method Details
-
getUrl
String getUrl()- Returns:
- the NiFi site-to-site URL for the remote NiFi instance
-
getHost
String getHost()- Returns:
- The Host of the remote NiFi instance
-
getPort
int getPort()- Returns:
- The Port that the remote NiFi instance is listening on for site-to-site communications
-
getDistinguishedName
String getDistinguishedName()- Returns:
- The distinguished name that the remote NiFi instance has provided
in its certificate if using secure communications, or
null
if the Distinguished Name is unknown
-
createTransitUri
- Returns:
- When data is transferred via Site-to-Site, provenance events are generated. This method returns a transit url used for the provenance event.
-