Package org.apache.nifi.remote
Class AbstractCommunicationsSession
java.lang.Object
org.apache.nifi.remote.AbstractCommunicationsSession
- All Implemented Interfaces:
Closeable
,AutoCloseable
,CommunicationsSession
- Direct Known Subclasses:
HttpCommunicationsSession
,SocketCommunicationsSession
-
Field Summary
Fields inherited from interface org.apache.nifi.remote.protocol.CommunicationsSession
MAGIC_BYTES
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.nifi.remote.protocol.CommunicationsSession
getBytesRead, getBytesWritten, getInput, getOutput, getTimeout, interrupt, isClosed, isDataAvailable, setTimeout
-
Field Details
-
userDn
-
-
Constructor Details
-
AbstractCommunicationsSession
public AbstractCommunicationsSession()
-
-
Method Details
-
getUserDn
- Specified by:
getUserDn
in interfaceCommunicationsSession
-
setUserDn
- Specified by:
setUserDn
in interfaceCommunicationsSession
-
createTransitUri
- Specified by:
createTransitUri
in interfaceCommunicationsSession
- Parameters:
communicantUrl
- Communicant's url that this session is assigned to.sourceFlowFileIdentifier
- Source Flow-file's uuid.- Returns:
- A transit uri to be used in a provenance event.
-