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

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


   
    if (debug)
      dbg_enter("AccessNetworkInfoParser.parse");
    try {
      headerName(TokenTypes.P_ACCESS_NETWORK_INFO);
      PAccessNetworkInfo accessNetworkInfo = new PAccessNetworkInfo();
      accessNetworkInfo.setHeaderName(SIPHeaderNamesIms.P_ACCESS_NETWORK_INFO);
     
      this.lexer.SPorHT();
      lexer.match(TokenTypes.ID);
      Token token = lexer.getNextToken();
      accessNetworkInfo.setAccessType(token.getTokenValue());

      this.lexer.SPorHT();
      while (lexer.lookAhead(0) == ';') {
        this.lexer.match(';');
        this.lexer.SPorHT();

        NameValue nv = super.nameValue('=');
        accessNetworkInfo.setParameter(nv);
        this.lexer.SPorHT();
      }
      this.lexer.SPorHT();
      this.lexer.match('\n');
     
View Full Code Here


        if (debug)
            dbg_enter("AccessNetworkInfoParser.parse");
        try {
            headerName(TokenTypes.P_ACCESS_NETWORK_INFO);
            PAccessNetworkInfo accessNetworkInfo = new PAccessNetworkInfo();
            accessNetworkInfo.setHeaderName(SIPHeaderNamesIms.P_ACCESS_NETWORK_INFO);

            this.lexer.SPorHT();
            lexer.match(TokenTypes.ID);
            Token token = lexer.getNextToken();
            accessNetworkInfo.setAccessType(token.getTokenValue());

            this.lexer.SPorHT();
            while (lexer.lookAhead(0) == ';') {
                this.lexer.match(';');
                this.lexer.SPorHT();

                NameValue nv = super.nameValue('=');
                accessNetworkInfo.setParameter(nv);
                this.lexer.SPorHT();
            }
            this.lexer.SPorHT();
            this.lexer.match('\n');
View Full Code Here

TOP

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

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.