Codota Logo
TransactionState
Code IndexAdd Codota to your IDE (free)

How to use
TransactionState
in
javax.sip

Best Java code snippets using javax.sip.TransactionState (Showing top 10 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: org.mobicents.servlet.sip/sip-servlets-impl

/**
 * Removed from the interface in PFD stage
 * so making it protected
 */
protected boolean hasOngoingTransaction() {
  if(!isSupervisedMode()) {
    return false;
  } else {
    if(ongoingTransactions != null) {
      for (Transaction transaction : ongoingTransactions) {
        if(TransactionState.CALLING.equals(transaction.getState()) ||
          TransactionState.TRYING.equals(transaction.getState()) ||
          TransactionState.PROCEEDING.equals(transaction.getState()) ||
          TransactionState.COMPLETED.equals(transaction.getState()) ||
          TransactionState.CONFIRMED.equals(transaction.getState())) {
            return true;
        }
      }
    }
    return false;
  }
}
origin: org.jitsi/jain-sip-ri-ossonly

+ ", state: "
+ (transactionState != null ? transactionState
    .toString() : "null")
+ ", OR: "
+ (origRequestMethod != null ? origRequestMethod
origin: org.mobicents.ha.javax.sip/restcomm-jain-sip-ha-core

transactionMetaData.put(CURRENT_STATE, Integer.valueOf(getState().getValue()));
if (logger.isLoggingEnabled(StackLogger.TRACE_DEBUG)) {
  logger.logDebug(transactionId + " : current state " + getState());
origin: org.mobicents.ha.javax.sip/restcomm-jain-sip-ha-core

transactionMetaData.put(CURRENT_STATE, Integer.valueOf(getState().getValue()));
if (logger.isLoggingEnabled(StackLogger.TRACE_DEBUG)) {
  logger.logDebug(transactionId + " : current state " + getState());
origin: org.mobicents.servlet.sip/sip-servlets-impl

  (ServerTransaction) sipServletRequest.getTransaction();
if(cancelTransaction != null && !TransactionState.TERMINATED.equals(cancelTransaction.getState())) {
  if(logger.isDebugEnabled()) {
    logger.debug("Sending 200 to Cancel " + sipServletRequest);
origin: org.mobicents.servlet.sip/sip-servlets-impl

if(tx instanceof ClientTransaction && getStatus() >= 101 && getStatus() <= 199 && getHeader("RSeq") != null && TransactionState.TERMINATED.equals(tx.getState())) {
  if(this.proxyBranch == null) { // Make sure this is not a proxy. Proxies are allowed to modify headers.
    return true;
if(tx instanceof ClientTransaction && getStatus() >= 200 && getStatus() <= 999 && TransactionState.TERMINATED.equals(tx.getState()) && isAckGenerated) {
  return true;
origin: org.mobicents.servlet.sip/sip-servlets-impl

&& !transaction.getState().equals(TransactionState.COMPLETED)
&& !transaction.getState().equals(TransactionState.TERMINATED)) {	
origin: org.mobicents.servlet.sip/sip-servlets-impl

  if(!TransactionState.TERMINATED.equals(transaction.getState())) {
    if(transaction.getApplicationData() != null) {
      ((TransactionApplicationData)transaction.getApplicationData()).cleanUp();
if(sessionCreatingTransaction != null) {
  if(!TransactionState.TERMINATED.equals(sessionCreatingTransaction.getState())) {
    try {
      sessionCreatingTransaction.terminate();
origin: org.mobicents.servlet.sip/sip-servlets-impl

if(!Request.ACK.equalsIgnoreCase(sipServletRequestImpl.getMethod()) && (force || ((transaction == null || TransactionState.TERMINATED.equals(transaction.getState())) &&
    (linkedTransaction == null || TransactionState.TERMINATED.equals(linkedTransaction.getState()))))) {
  this.originalRequestMap.remove(sipServletRequestImpl);	
  this.originalRequestMap.remove(linkedRequest);
origin: org.mobicents.servlet.sip/sip-servlets-impl

if(tx.getState() == null || tx.getState().equals(TransactionState.CALLING) || tx.getState().equals(TransactionState.TRYING)) {
  if(logger.isDebugEnabled()) {
    logger.debug("Can not send CANCEL. Will try to STOP retransmissions " + tx + " tx state " + tx.getState());
javax.sipTransactionState

Most used methods

  • equals
  • getValue
  • toString

Popular in Java

  • Making http post requests using okhttp
  • onCreateOptionsMenu (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now