private int getSequenceIdentifier() {
        int sequenceId = sequenceIdGenerator.getAndIncrement();
        if (sequenceId == DEFAULT_MAX_REQUEST_ID) {
            sequenceIdGenerator.set(0);
        }
        return sequenceId;
    }
Returns the next sequence identifier.

@return the next sequential identifier
plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/context/SecureChannelTransactionManager.java