public class EndpointConnection extends Object
| Modifier and Type | Field and Description |
|---|---|
private FlowFileCodec |
codec |
private long |
lastUsed |
private Peer |
peer |
private SocketClientProtocol |
socketClientProtocol |
| Constructor and Description |
|---|
EndpointConnection(Peer peer,
SocketClientProtocol socketClientProtocol,
FlowFileCodec codec) |
| Modifier and Type | Method and Description |
|---|---|
FlowFileCodec |
getCodec() |
long |
getLastTimeUsed() |
Peer |
getPeer() |
SocketClientProtocol |
getSocketClientProtocol() |
void |
setLastTimeUsed() |
private final Peer peer
private final SocketClientProtocol socketClientProtocol
private final FlowFileCodec codec
private volatile long lastUsed
public EndpointConnection(Peer peer, SocketClientProtocol socketClientProtocol, FlowFileCodec codec)
public FlowFileCodec getCodec()
public SocketClientProtocol getSocketClientProtocol()
public Peer getPeer()
public void setLastTimeUsed()
public long getLastTimeUsed()
Copyright © 2023 Apache NiFi Project. All rights reserved.