// is a transit to the next stage possible
if (protocolDataUnit.getBasicHeaderSegment().isFinalFlag()) {
if (nextStage == LoginStage.LOGIN_OPERATIONAL_NEGOTIATION) {
connection.getSession().setPhase(new LoginOperationalNegotiationPhase());
} else if (nextStage == LoginStage.FULL_FEATURE_PHASE) {
connection.getSession().setPhase(new FullFeaturePhase());
// return false;
}
}
// return true;