return dataBuilder.build();
}
public Packet toPacket(TerminateSequenceData data, @Nullable Packet requestPacket) throws RxRuntimeException {
Packet packet = communicator.createRequestPacket(requestPacket, new TerminateSequenceElement(data), rmVersion.protocolVersion.terminateSequenceAction, true);
if (data.getAcknowledgementData() != null) {
appendAcknowledgementHeaders(packet, data.getAcknowledgementData());
}