public int getStage() {
        return stage;
    }
Returns the current stage where the requester is located. Stages are numbered from 0. A
stage with value 0 means that a command request has just been received and no data form
has been sent to the requester yet. The first sent data form of the first stage would be
represented as stage 1.

@return the current stage where the requester is located.
xmppserver/src/main/java/org/jivesoftware/openfire/commands/SessionData.java