/* * Conditions Of Use * * This software was developed by employees of the National Institute of * Standards and Technology (NIST), an agency of the Federal Government. * Pursuant to title 15 Untied States Code Section 105, works of NIST * employees are not subject to copyright protection in the United States * and are considered to be in the public domain. As a result, a formal * license is not needed to use the software. * * This software is provided by NIST as a service and is expressly * provided "AS IS." NIST MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED * OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT * AND DATA ACCURACY. NIST does not warrant or make any representations * regarding the use of the software or the results thereof, including but * not limited to the correctness, accuracy, reliability or usefulness of * the software. * * Permission to use this software is contingent upon your acceptance * of the terms of this agreement * * . * */ /******************************************* * PRODUCT OF PT INOVACAO - EST DEPARTMENT * *******************************************/ package gov.nist.javax.sip.header.ims; import gov.nist.core.Token; import javax.sip.header.Header; import javax.sip.header.Parameters; /** * P-Visited-Network-ID SIP Private Header: RFC 3455. * * * *

Sintax:

* *
 * P-Visited-Network-ID = "P-Visited-Network-ID" HCOLON
 *                         vnetwork-spec
 *                         *(COMMA vnetwork-spec)
 * vnetwork-spec        = (token / quoted-string)
 *                         *(SEMI vnetwork-param)
 * vnetwork-param       = generic-param
 *
 *
 * eg: P-Visited-Network-ID: other.net, "Visited network number 1"
 * 
* * @author ALEXANDRE MIGUEL SILVA SANTOS - NĂș 10045401 */ public interface PVisitedNetworkIDHeader extends Parameters, Header { /** * Name of VisitedNetworkIDHeader */ public final static String NAME = "P-Visited-Network-ID"; /** * Set the visited network ID as a string. The value will be quoted in the header. * @param networkID - string value */ public void setVisitedNetworkID(String networkID); /** * Set the visited network ID as a token * @param networkID - token value */ public void setVisitedNetworkID(Token networkID); /** * Get the visited network ID value of this header */ public String getVisitedNetworkID(); }