Package javax.sip

Examples of javax.sip.TransactionState


          if (currentTime - sipTransaction.auditTag >= a_nLeakedTransactionTimer) {
            // Leaked transaction found
            leakedTransactions++;

            // Generate some report
            TransactionState transactionState = sipTransaction
                .getState();
            SIPRequest origRequest = sipTransaction
                .getOriginalRequest();
            String origRequestMethod = (origRequest != null ? origRequest
                .getMethod()
                : null);
            String transactionReport = sipTransaction.getClass()
                .getName()
                + ", state: "
                + (transactionState != null ? transactionState
                    .toString() : "null")
                + ", OR: "
                + (origRequestMethod != null ? origRequestMethod
                    : "null");
            auditReport += "    " + transactionReport + "\n";
View Full Code Here


            // Resend the last request sent
            if (this.getState() == null || !this.isMapped)
                return;

            boolean inv = isInviteTransaction();
            TransactionState s = this.getState();

            // JvB: INVITE CTs only retransmit in CALLING, non-INVITE in both TRYING and
            // PROCEEDING
            // Bug-fix for non-INVITE transactions not retransmitted when 1xx response received
            if ((inv && TransactionState.CALLING == s)
View Full Code Here

        }

        protected void runTask() {
            SIPServerTransaction serverTransaction = SIPServerTransaction.this;

            TransactionState realState = serverTransaction.getRealState();

            if (realState == null || TransactionState.TRYING == realState) {
                if (sipStack.isLoggingEnabled(LogWriter.TRACE_DEBUG))
                    sipStack.getStackLogger().logDebug(" sending Trying current state = "
                            + serverTransaction.getRealState());
View Full Code Here

     * transaction is not known to the stack.
     */
    protected void map() {
        // note that TRYING is a pseudo-state for invite transactions

        TransactionState realState = getRealState();

        if (realState == null || realState == TransactionState.TRYING) {
            // JvB: Removed the condition 'dialog!=null'. Trying should also
            // be
            // sent by intermediate proxies. This fixes some TCK tests
View Full Code Here

          if (currentTime - sipTransaction.auditTag >= a_nLeakedTransactionTimer) {
            // Leaked transaction found
            leakedTransactions++;

            // Generate some report
            TransactionState transactionState = sipTransaction
                .getState();
            SIPRequest origRequest = sipTransaction
                .getOriginalRequest();
            String origRequestMethod = (origRequest != null ? origRequest
                .getMethod()
                : null);
            String transactionReport = sipTransaction.getClass()
                .getName()
                + ", state: "
                + (transactionState != null ? transactionState
                    .toString() : "null")
                + ", OR: "
                + (origRequestMethod != null ? origRequestMethod
                    : "null");
            auditReport += "    " + transactionReport + "\n";
View Full Code Here

                    if (currentTime - sipTransaction.auditTag >= a_nLeakedTransactionTimer) {
                        // Leaked transaction found
                        leakedTransactions++;

                        // Generate some report
            TransactionState transactionState = sipTransaction
                .getState();
            SIPRequest origRequest = sipTransaction
                .getOriginalRequest();
            String origRequestMethod = (origRequest != null ? origRequest
                .getMethod()
                                : null);
            String transactionReport = sipTransaction.getClass()
                .getName()
                                + ", state: "
                + (transactionState != null ? transactionState
                    .toString() : "null")
                + ", OR: "
                + (origRequestMethod != null ? origRequestMethod
                    : "null");
                        auditReport += "    " + transactionReport + "\n";
View Full Code Here

     * transaction is not known to the stack.
     */
    protected void map() {
        // note that TRYING is a pseudo-state for invite transactions

        TransactionState realState = getRealState();

        if (realState == null || realState == TransactionState.TRYING) {
            // JvB: Removed the condition 'dialog!=null'. Trying should also
            // be
            // sent by intermediate proxies. This fixes some TCK tests
View Full Code Here

        }

        protected void runTask() {
            SIPServerTransaction serverTransaction = SIPServerTransaction.this;

            TransactionState realState = serverTransaction.getRealState();

            if (realState == null || TransactionState.TRYING == realState) {
                if (sipStack.isLoggingEnabled(LogWriter.TRACE_DEBUG))
                    sipStack.getStackLogger().logDebug(" sending Trying current state = "
                            + serverTransaction.getRealState());
View Full Code Here

            // Resend the last request sent
            if (this.getState() == null || !this.isMapped)
                return;

            boolean inv = isInviteTransaction();
            TransactionState s = this.getState();

            // JvB: INVITE CTs only retransmit in CALLING, non-INVITE in both TRYING and
            // PROCEEDING
            // Bug-fix for non-INVITE transactions not retransmitted when 1xx response received
            if ((inv && TransactionState.CALLING == s)
View Full Code Here

                    if (currentTime - sipTransaction.auditTag >= a_nLeakedTransactionTimer) {
                        // Leaked transaction found
                        leakedTransactions++;

                        // Generate some report
                        TransactionState transactionState = sipTransaction
                                .getState();
                        SIPRequest origRequest = sipTransaction
                                .getOriginalRequest();
                        String origRequestMethod = (origRequest != null ? origRequest
                                .getMethod()
                                : null);
                        String transactionReport = sipTransaction.getClass()
                                .getName()
                                + ", state: "
                                + (transactionState != null ? transactionState
                                        .toString() : "null")
                                + ", OR: "
                                + (origRequestMethod != null ? origRequestMethod
                                        : "null");
                        auditReport += "    " + transactionReport + "\n";
View Full Code Here

TOP

Related Classes of javax.sip.TransactionState

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.