Package gov.nist.javax.sip.header.ims

Examples of gov.nist.javax.sip.header.ims.PUserDatabaseHeader


    System.out.println("top of the JSIP stack. Let us test the marshaling");
    System.out.println("of the P-User-Database header.");
    System.out.println("************************************************************");
   
    HeaderFactoryImpl himpl = new HeaderFactoryImpl();
    PUserDatabaseHeader pud = himpl.createPUserDatabaseHeader("rancorehss.rancore.com:5555");
    try {
      pud.setParameter("transport", "tcp");
    } catch (ParseException e) {
     
      e.printStackTrace();
    }
   
    System.out.println("The encoded Database name is---> "+pud.getDatabaseName());
   
    System.out.println("The encoded URI parameter is---> "+pud.getParameter("transport"));
   
    System.out.println("The encoded header looks like---> "+pud.toString());
   
  }
View Full Code Here


        System.out.println("top of the JSIP stack. Let us test the marshaling");
        System.out.println("of the P-User-Database header.");
        System.out.println("************************************************************");

        HeaderFactoryImpl himpl = new HeaderFactoryImpl();
        PUserDatabaseHeader pud = himpl.createPUserDatabaseHeader("rancorehss.rancore.com:5555");
        try {
            pud.setParameter("transport", "tcp");
        } catch (ParseException e) {

            e.printStackTrace();
        }

        System.out.println("The encoded Database name is---> "+pud.getDatabaseName());

        System.out.println("The encoded URI parameter is---> "+pud.getParameter("transport"));

        System.out.println("The encoded header looks like---> "+pud.toString());

    }
View Full Code Here

TOP

Related Classes of gov.nist.javax.sip.header.ims.PUserDatabaseHeader

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.