Package test.tck.msgflow.callflows

Examples of test.tck.msgflow.callflows.ProtocolObjects


    // check that the apps gets called for timeout event when no ack is received nor sent
    public void testDialogTimeoutSipListenerExt() {
       
            try {
              this.shootistProtocolObjs = new ProtocolObjects("shootist", "gov.nist", "udp", false,false);
                shootist = new Shootist(shootistProtocolObjs);
                SipProvider shootistProvider = shootist.createSipProvider();

                this.shootmeProtocolObjs = new ProtocolObjects("shootme", "gov.nist", "udp", false,false);
                shootme = new Shootme(shootmeProtocolObjs);
                SipProvider shootmeProvider = shootme.createSipProvider();
              
                shootist.init();
                providerTable.put(shootistProvider, shootist);
View Full Code Here


    // check that the apps gets called for timeout event when no ack is received nor sent
    // and for terminated event after the BYE is sent
    public void testDialogTimeoutAndTerminatedSipListenerExt() {
       
        try {
          this.shootistProtocolObjs = new ProtocolObjects("shootist", "gov.nist", "udp", false,false);
            shootist = new Shootist(shootistProtocolObjs);
            shootist.setSendByeOnDialogTimeout(true);
            SipProvider shootistProvider = shootist.createSipProvider();

            this.shootmeProtocolObjs = new ProtocolObjects("shootme", "gov.nist", "udp", false,false);
            shootme = new Shootme(shootmeProtocolObjs);
            shootme.setReceiveBye(true);
            SipProvider shootmeProvider = shootme.createSipProvider();
          
            shootist.init();
View Full Code Here

   
    // check that the caller application doesn't get called on timeout but called on dialog terminated event when it is not implementing the new listener
    public void testDialogTimeoutDialogDeletedNotImplementedSipListenerExt() {
       
        try {
          this.shootistProtocolObjs = new ProtocolObjects("shootist", "gov.nist", "udp", false,false);
            shootistNotImplementingSipListenerExt = new ShootistNotImplementingSipListenerExt(shootistProtocolObjs);
            SipProvider shootistProvider = shootistNotImplementingSipListenerExt.createSipProvider();

            this.shootmeProtocolObjs = new ProtocolObjects("shootme", "gov.nist", "udp", false,false);
            shootme = new Shootme(shootmeProtocolObjs);
            SipProvider shootmeProvider = shootme.createSipProvider();
          
            shootistNotImplementingSipListenerExt.init();
            providerTable.put(shootistProvider, shootistNotImplementingSipListenerExt);
View Full Code Here

   
    // check that the apps don't get called on tiemout event if autodialog is true but get called on dialog terminated event
    public void testDialogTimeoutAutoDialog() {
       
        try {
          this.shootistProtocolObjs = new ProtocolObjects("shootist", "gov.nist", "udp", true,false);
            shootist = new Shootist(shootistProtocolObjs);
            SipProvider shootistProvider = shootist.createSipProvider();

            this.shootmeProtocolObjs = new ProtocolObjects("shootme", "gov.nist", "udp", true,false);
            shootme = new Shootme(shootmeProtocolObjs);
            SipProvider shootmeProvider = shootme.createSipProvider();
          
            shootist.init();
            providerTable.put(shootistProvider, shootist);
View Full Code Here

   
    // test checking that when the B2BUA flag is set to true, the app doesn't get called on dialog timeout but get called for dialog terminated
    public void testDialogTimeoutB2BUABothCalled() {
       
        try {
          this.shootistProtocolObjs = new ProtocolObjects("shootist", "gov.nist", "udp", false,true);
            shootist = new Shootist(shootistProtocolObjs);
            SipProvider shootistProvider = shootist.createSipProvider();

            this.shootmeProtocolObjs = new ProtocolObjects("shootme", "gov.nist", "udp", false,false);
            shootmeNotImplementingListener = new ShootmeNotImplementingListener(shootmeProtocolObjs);
            shootmeNotImplementingListener.setStateIsOk(true);
            SipProvider shootmeProvider = shootmeNotImplementingListener.createSipProvider();
          
            shootist.init();
View Full Code Here

    return sipProvider;
  }

  public static void main(String args[]) throws Exception {
    logger.addAppender(new ConsoleAppender(new SimpleLayout()));
    ProtocolObjects protocolObjects = new ProtocolObjects("shootme",
        "gov.nist", "udp", true);

    Shootme shootme = new Shootme(protocolObjects);
    shootme.createSipProvider().addSipListener(shootme);
View Full Code Here

  }
 
 
  public static void main(String args[]) throws Exception   {
    logger.addAppender( new ConsoleAppender(new SimpleLayout()));
    ProtocolObjects protocolObjects = new ProtocolObjects("shootme", "gov.nist","udp",true);
   
    Shootme shootme = new Shootme(protocolObjects);
    shootme.createSipProvider().addSipListener(shootme);
   
  }
View Full Code Here

    }


    public static void main(String args[]) throws Exception {
        logger.addAppender( new ConsoleAppender(new SimpleLayout()));
        ProtocolObjects protocolObjects = new ProtocolObjects("shootme", "gov.nist","udp",true,false, false);

        Shootme shootme = new Shootme(protocolObjects);
        shootme.createSipProvider().addSipListener(shootme);

    }
View Full Code Here

    }


    public static void main(String args[]) throws Exception {
        logger.addAppender( new ConsoleAppender(new SimpleLayout()));
        ProtocolObjects protocolObjects = new ProtocolObjects("shootme", "gov.nist","udp",true,false, false);

        Shootme shootme = new Shootme(protocolObjects);
        shootme.createSipProvider().addSipListener(shootme);

    }
View Full Code Here

    }


    public static void main(String args[]) throws Exception {
        logger.addAppender( new ConsoleAppender(new SimpleLayout()));
        ProtocolObjects protocolObjects = new ProtocolObjects("shootme", "gov.nist","udp",true);

        Shootme shootme = new Shootme(protocolObjects);
        shootme.createSipProvider().addSipListener(shootme);

    }
View Full Code Here

TOP

Related Classes of test.tck.msgflow.callflows.ProtocolObjects

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.