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

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


   
    HeaderFactoryImpl himpl = new HeaderFactoryImpl();
    AddressFactory addFactory = new AddressFactoryImpl();
   
    try {
      PProfileKeyHeader ppkey = himpl.createPProfileKeyHeader
          (addFactory.createAddress("aayush's room",
               addFactory.createSipURI("aayushzChatRoom-19", "rancoremumbai.com")));
     
      System.out.println("The newly encoded header is---> "+ppkey.toString());
    } catch (ParseException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
  }
View Full Code Here


        HeaderFactoryImpl himpl = new HeaderFactoryImpl();
        AddressFactory addFactory = new AddressFactoryImpl();

        try {
            PProfileKeyHeader ppkey = himpl.createPProfileKeyHeader
                (addFactory.createAddress("aayush's room",
                         addFactory.createSipURI("aayushzChatRoom-19", "rancoremumbai.com")));

            System.out.println("The newly encoded header is---> "+ppkey.toString());
        } catch (ParseException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
    }
View Full Code Here

TOP

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

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.