}
}
}
private Packet handleTerminateSequenceAction(Packet request) {
TerminateSequenceData requestData = rc.protocolHandler.toTerminateSequenceData(request);
rc.destinationMessageHandler.processAcknowledgements(requestData.getAcknowledgementData());
Sequence inboundSequence = rc.sequenceManager().getInboundSequence(requestData.getSequenceId());
Sequence outboundSeqence = rc.sequenceManager().getBoundSequence(requestData.getSequenceId());
try {
final TerminateSequenceResponseData.Builder responseBuilder = TerminateSequenceResponseData.getBuilder(inboundSequence.getId());
responseBuilder.acknowledgementData(rc.destinationMessageHandler.getAcknowledgementData(inboundSequence.getId()));
if (outboundSeqence != null) {