949596979899100
for (OutboundTcpConnection conn : new OutboundTcpConnection[] { cmdCon, ackCon }) conn.softCloseSocket(); // release previous metrics and create new one with reset address metrics.release(); metrics = new ConnectionMetrics(resetEndpoint, this); }
171172173174175176177178179
public void start() { cmdCon.start(); ackCon.start(); metrics = new ConnectionMetrics(id, this); started.countDown(); }
50515253545556
cmdCon = new OutboundTcpConnection(this); cmdCon.start(); ackCon = new OutboundTcpConnection(this); ackCon.start(); metrics = new ConnectionMetrics(id, this); }
for (OutboundTcpConnection conn : new OutboundTcpConnection[] { cmdCon, ackCon }) conn.softCloseSocket(); // release previous metrics and create new one with reset address metrics.release(); metrics = new ConnectionMetrics(resetedEndpoint, this); }
48495051525354
91929394959697