Lines Matching refs:TransactionState
55 import javax.sip.TransactionState;
332 TransactionState realState = serverTransaction.getRealState();
334 if (realState == null || TransactionState.TRYING == realState) {
672 TransactionState realState = getRealState();
674 if (realState == null || realState == TransactionState.TRYING) {
727 this.setState(TransactionState.TRYING);
744 } else if (isInviteTransaction() && TransactionState.COMPLETED == getRealState()
748 this.setState(TransactionState.CONFIRMED);
755 this.setState(TransactionState.TERMINATED);
782 if (TransactionState.PROCEEDING == getRealState()
783 || TransactionState.COMPLETED == getRealState()) {
810 if (TransactionState.COMPLETED != getRealState()
811 && TransactionState.TERMINATED != getRealState() && requestOf != null) {
828 && getRealState() == TransactionState.TERMINATED
914 if (getRealState() == TransactionState.TRYING) {
916 this.setState(TransactionState.PROCEEDING);
929 this.setState(TransactionState.COMPLETED);
947 this.setState(TransactionState.TERMINATED);
978 this.setState(TransactionState.TERMINATED);
983 this.setState(TransactionState.COMPLETED);
1006 } else if (getRealState() == TransactionState.PROCEEDING) {
1019 this.setState(TransactionState.TERMINATED);
1026 this.setState(TransactionState.COMPLETED);
1051 this.setState(TransactionState.COMPLETED);
1059 this.setState(TransactionState.TERMINATED);
1066 } else if (TransactionState.COMPLETED == this.getRealState()) {
1083 this.setState(TransactionState.TERMINATED);
1149 this.setState(TransactionState.TERMINATED);
1175 && (TransactionState.CALLING == this.getRealState() || TransactionState.TRYING == this
1183 if (TransactionState.COMPLETED == this.getRealState() && isInviteTransaction()) {
1185 this.setState(TransactionState.TERMINATED);
1188 } else if (TransactionState.COMPLETED == this.getRealState() && !isInviteTransaction()) {
1189 this.setState(TransactionState.TERMINATED);
1192 } else if (TransactionState.CONFIRMED == this.getRealState() && isInviteTransaction()) {
1197 this.setState(TransactionState.TERMINATED);
1200 && (TransactionState.COMPLETED == this.getRealState() || TransactionState.CONFIRMED == this
1202 this.setState(TransactionState.TERMINATED);
1203 } else if (isInviteTransaction() && TransactionState.TERMINATED == this.getRealState()) {
1298 && this.getState() != TransactionState.TERMINATED
1407 this.setState(TransactionState.TERMINATED);
1413 this.setState(TransactionState.TERMINATED);
1421 private TransactionState getRealState() {
1432 public TransactionState getState() {
1434 if (this.isInviteTransaction() && TransactionState.TRYING == super.getState())
1435 return TransactionState.PROCEEDING;
1445 public void setState(TransactionState newState) {
1448 if (newState == TransactionState.TERMINATED && this.isReliable()
1522 this.setState(TransactionState.TERMINATED);