Examples of handleEvent()


Examples of gov.nist.javax.sip.SipProviderImpl.handleEvent()

                } else {
                    // alert the application to retransmit the last response
                    SipProviderImpl sipProvider = (SipProviderImpl) this.getSipProvider();
                    TimeoutEvent txTimeout = new TimeoutEvent(sipProvider, this,
                            Timeout.RETRANSMIT);
                    sipProvider.handleEvent(txTimeout, this);
                }

            }
        } catch (IOException e) {
            if (sipStack.isLoggingEnabled())
View Full Code Here

Examples of gov.nist.javax.sip.SipProviderImpl.handleEvent()

      if (removed != null
          && sipTransaction.testAndSetTransactionTerminatedEvent()) {
        TransactionTerminatedEvent event = new TransactionTerminatedEvent(
            sipProvider, (ServerTransaction) sipTransaction);

        sipProvider.handleEvent(event, sipTransaction);

      }
    } else {

      String key = sipTransaction.getTransactionId();
View Full Code Here

Examples of gov.nist.javax.sip.SipProviderImpl.handleEvent()

        SipProviderImpl sipProvider = (SipProviderImpl) sipTransaction
            .getSipProvider();
        TransactionTerminatedEvent event = new TransactionTerminatedEvent(
            sipProvider, (ClientTransaction) sipTransaction);

        sipProvider.handleEvent(event, sipTransaction);
      }
        ((SIPClientTransaction)sipTransaction).stopExpiresTimer();

    }
  }
View Full Code Here

Examples of gov.nist.javax.sip.SipProviderImpl.handleEvent()

                } else {
                    // alert the application to retransmit the last response
                    SipProviderImpl sipProvider = (SipProviderImpl) this.getSipProvider();
                    TimeoutEvent txTimeout = new TimeoutEvent(sipProvider, this,
                            Timeout.RETRANSMIT);
                    sipProvider.handleEvent(txTimeout, this);
                }

            }
        } catch (IOException e) {
            if (sipStack.isLoggingEnabled())
View Full Code Here

Examples of gov.nist.javax.sip.SipProviderImpl.handleEvent()

      if (removed != null
          && sipTransaction.testAndSetTransactionTerminatedEvent()) {
        TransactionTerminatedEvent event = new TransactionTerminatedEvent(
            sipProvider, (ServerTransaction) sipTransaction);

                sipProvider.handleEvent(event, sipTransaction);

            }
        } else {

            String key = sipTransaction.getTransactionId();
View Full Code Here

Examples of gov.nist.javax.sip.SipProviderImpl.handleEvent()

        SipProviderImpl sipProvider = (SipProviderImpl) sipTransaction
            .getSipProvider();
        TransactionTerminatedEvent event = new TransactionTerminatedEvent(
            sipProvider, (ClientTransaction) sipTransaction);

                sipProvider.handleEvent(event, sipTransaction);
            }

        }
    }
View Full Code Here

Examples of gov.nist.javax.sip.SipProviderImpl.handleEvent()

            SipProviderImpl provider = ct.getSipProvider();
    
            if (ct.getState() != TransactionState.TERMINATED ) {
                TimeoutEvent tte = new TimeoutEvent(SIPClientTransaction.this.getSipProvider(),
                        SIPClientTransaction.this, Timeout.TRANSACTION);
                provider.handleEvent(tte, ct);
            } else {
                if ( SIPClientTransaction.this.getSIPStack().getStackLogger().isLoggingEnabled(LogWriter.TRACE_DEBUG) ) {
                    SIPClientTransaction.this.getSIPStack().getStackLogger().logDebug("state = " + ct.getState());
                }
            }
View Full Code Here

Examples of io.undertow.server.DelegateOpenListener.handleEvent()

                    }
                    buffer.getResource().flip();
                    if(selected != null) {
                        DelegateOpenListener listener = listeners.get(selected).listener;
                        source.getReadSetter().set(null);
                        listener.handleEvent(channel, buffer);
                        free = false;
                        return;
                    } else if(res > 0) {
                        if(fallbackProtocol == null) {
                            UndertowLogger.REQUEST_IO_LOGGER.noALPNFallback(channel.getPeerAddress());
View Full Code Here

Examples of java.awt.peer.ComponentPeer.handleEvent()

            if (target != null) {
                peer = target.getPeer();
            }
        }
        if (peer != null) {
            peer.handleEvent(e);
        }

        return true;
    }
View Full Code Here

Examples of java.awt.peer.ComponentPeer.handleEvent()

            Component source = (Component)ke.getSource();
            Container target = source.getNativeContainer();
            if (target != null) {
                ComponentPeer peer = target.getPeer();
                if (peer != null) {
                    peer.handleEvent(ke);
                    /**
                     * Fix for 4478780 - consume event after it was dispatched by peer.
                     */
                    ke.consume();
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.