Package gov.nist.javax.sip.header

Examples of gov.nist.javax.sip.header.Event


                    // The user could have createed a dialog before sending out
                    // the SUBSCRIBE on the subscribe tx.
                    if (subscriptionDialog == null
                            && (sipProvider.isAutomaticDialogSupportEnabled() || pendingSubscribeClientTx
                                    .getDefaultDialog() != null)) {
                        Event event = (Event) sipRequest.getHeader(EventHeader.NAME);
                        if (sipStack.isEventForked(event.getEventType())) {

                            subscriptionDialog = SIPDialog.createFromNOTIFY(
                                    pendingSubscribeClientTx, transaction);

                        }
View Full Code Here


            + clientTransactionTable.size());
      String thisToTag = notifyMessage.getTo().getTag();
      if (thisToTag == null) {
        return retval;
      }
      Event eventHdr = (Event) notifyMessage.getHeader(EventHeader.NAME);
      if (eventHdr == null) {
        if (stackLogger.isLoggingEnabled()) {
          stackLogger
              .logDebug("event Header is null -- returning null");
        }

        return retval;
      }
      while (it.hasNext()) {
        SIPClientTransaction ct = (SIPClientTransaction) it.next();
        if (!ct.getMethod().equals(Request.SUBSCRIBE))
          continue;

        // if ( sipProvider.getListeningPoint(transport) == null)
        String fromTag = ct.from.getTag();
        Event hisEvent = ct.event;
        // Event header is mandatory but some slopply clients
        // dont include it.
        if (hisEvent == null)
          continue;
        if (stackLogger.isLoggingEnabled()) {
View Full Code Here

            + clientTransactionTable.size());
      String thisToTag = notifyMessage.getTo().getTag();
      if (thisToTag == null) {
        return retval;
      }
      Event eventHdr = (Event) notifyMessage.getHeader(EventHeader.NAME);
      if (eventHdr == null) {
        if (stackLogger.isLoggingEnabled()) {
          stackLogger
              .logDebug("event Header is null -- returning null");
        }

        return retval;
      }
      while (it.hasNext()) {
        SIPClientTransaction ct = (SIPClientTransaction) it.next();
        if (!ct.getMethod().equals(Request.SUBSCRIBE))
          continue;

        // if ( sipProvider.getListeningPoint(transport) == null)
        String fromTag = ct.from.getTag();
        Event hisEvent = ct.event;
        // Event header is mandatory but some slopply clients
        // dont include it.
        if (hisEvent == null)
          continue;
        if (stackLogger.isLoggingEnabled()) {
View Full Code Here

                    // The user could have createed a dialog before sending out
                    // the SUBSCRIBE on the subscribe tx.
                    if (subscriptionDialog == null
                            && (sipProvider.isAutomaticDialogSupportEnabled() || pendingSubscribeClientTx
                                    .getDefaultDialog() != null)) {
                        Event event = (Event) sipRequest.getHeader(EventHeader.NAME);
                        if (sipStack.isEventForked(event.getEventType())) {

                            subscriptionDialog = SIPDialog.createFromNOTIFY(
                                    pendingSubscribeClientTx, transaction);

                        }
View Full Code Here

                    // The user could have createed a dialog before sending out
                    // the SUBSCRIBE on the subscribe tx.
                    if (subscriptionDialog == null
                            && (sipProvider.isAutomaticDialogSupportEnabled() || pendingSubscribeClientTx
                                    .getDefaultDialog() != null)) {
                        Event event = (Event) sipRequest
                                .getHeader(EventHeader.NAME);
                        if (sipStack.isEventForked(event.getEventType())) {

                            subscriptionDialog = SIPDialog.createFromNOTIFY(
                                    pendingSubscribeClientTx, transaction);

                        }
View Full Code Here

            + clientTransactionTable.size());
            String thisToTag = notifyMessage.getTo().getTag();
            if (thisToTag == null) {
                return retval;
            }
            Event eventHdr = (Event) notifyMessage.getHeader(EventHeader.NAME);
            if (eventHdr == null) {
                if (stackLogger.isLoggingEnabled(LogWriter.TRACE_DEBUG)) {
          stackLogger
              .logDebug("event Header is null -- returning null");
                }

                return retval;
            }
            while (it.hasNext()) {
                SIPClientTransaction ct = (SIPClientTransaction) it.next();
                if (!ct.getMethod().equals(Request.SUBSCRIBE))
                    continue;

                // if ( sipProvider.getListeningPoint(transport) == null)
                String fromTag = ct.getOriginalRequestFromTag();
                Event hisEvent = (Event) ct.getOriginalRequestEvent();
                // Event header is mandatory but some slopply clients
                // dont include it.
                if (hisEvent == null)
                    continue;
                if (stackLogger.isLoggingEnabled(LogWriter.TRACE_DEBUG)) {
View Full Code Here

                        + clientTransactionTable.size());
            String thisToTag = notifyMessage.getTo().getTag();
            if (thisToTag == null) {
                return retval;
            }
            Event eventHdr = (Event) notifyMessage.getHeader(EventHeader.NAME);
            if (eventHdr == null) {
                if (stackLogger.isLoggingEnabled(LogWriter.TRACE_DEBUG)) {
                    stackLogger
                            .logDebug("event Header is null -- returning null");
                }

                return retval;
            }
            while (it.hasNext()) {
                SIPClientTransaction ct = (SIPClientTransaction) it.next();
                if (!ct.getMethod().equals(Request.SUBSCRIBE))
                    continue;

                // if ( sipProvider.getListeningPoint(transport) == null)
                String fromTag = ct.getOriginalRequestFromTag();
                Event hisEvent = (Event) ct.getOriginalRequestEvent();
                // Event header is mandatory but some slopply clients
                // dont include it.
                if (hisEvent == null)
                    continue;
                if (stackLogger.isLoggingEnabled(LogWriter.TRACE_DEBUG)) {
View Full Code Here

                    // The user could have createed a dialog before sending out
                    // the SUBSCRIBE on the subscribe tx.
                    if (subscriptionDialog == null
                            && (sipProvider.isAutomaticDialogSupportEnabled() || pendingSubscribeClientTx
                                    .getDefaultDialog() != null)) {
                        Event event = (Event) sipRequest
                                .getHeader(EventHeader.NAME);
                        if (sipStack.isEventForked(event.getEventType())) {

                            subscriptionDialog = SIPDialog.createFromNOTIFY(
                                    pendingSubscribeClientTx, transaction);

                        }
View Full Code Here

                    // The user could have createed a dialog before sending out
                    // the SUBSCRIBE on the subscribe tx.
                    if (subscriptionDialog == null
                            && (sipProvider.isAutomaticDialogSupportEnabled() || pendingSubscribeClientTx
                                    .getDefaultDialog() != null)) {
                        Event event = (Event) sipRequest.getHeader(EventHeader.NAME);
                        if (sipStack.isEventForked(event.getEventType())) {

                            subscriptionDialog = SIPDialog.createFromNOTIFY(
                                    pendingSubscribeClientTx, transaction);

                        }
View Full Code Here

            logWriter.logDebug("ct table size = " + clientTransactionTable.size());
            String thisToTag = notifyMessage.getTo().getTag();
            if (thisToTag == null) {
                return retval;
            }
            Event eventHdr = (Event) notifyMessage.getHeader(EventHeader.NAME);
            if (eventHdr == null) {
                if (logWriter.isLoggingEnabled()) {
                    logWriter.logDebug("event Header is null -- returning null");
                }

                return retval;
            }
            while (it.hasNext()) {
                SIPClientTransaction ct = (SIPClientTransaction) it.next();
                if (!ct.getMethod().equals(Request.SUBSCRIBE))
                    continue;
              
                // if ( sipProvider.getListeningPoint(transport) == null)
                String fromTag = ct.from.getTag();
                Event hisEvent = ct.event;
                // Event header is mandatory but some slopply clients
                // dont include it.
                if (hisEvent == null)
                    continue;
                if (this.isLoggingEnabled()) {
View Full Code Here

TOP

Related Classes of gov.nist.javax.sip.header.Event

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.