1600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wangpackage gov.nist.javax.sip.header.ims; 2600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang/* 3600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* Conditions Of Use 4600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* 5600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* This software was developed by employees of the National Institute of 6600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* Standards and Technology (NIST), an agency of the Federal Government. 7600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* Pursuant to title 15 Untied States Code Section 105, works of NIST 8600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* employees are not subject to copyright protection in the United States 9600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* and are considered to be in the public domain. As a result, a formal 10600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* license is not needed to use the software. 11600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* 12600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* This software is provided by NIST as a service and is expressly 13600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* provided "AS IS." NIST MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED 14600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF 15600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT 16600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* AND DATA ACCURACY. NIST does not warrant or make any representations 17600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* regarding the use of the software or the results thereof, including but 18600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* not limited to the correctness, accuracy, reliability or usefulness of 19600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* the software. 20600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* 21600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* Permission to use this software is contingent upon your acceptance 22600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* of the terms of this agreement 23600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* 24600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* . 25600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang* 26600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang*/ 27600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wangimport javax.sip.header.Header; 28600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wangimport javax.sip.header.Parameters; 29600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang/** 30600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang * 31600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang * @author aayush.bhatnagar 32600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang * Rancore Technologies Pvt Ltd, Mumbai India. 33600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang * 34600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang * This is the interface that exposes the behavior 35600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang * of the P-User-Database header. We only have one 36600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang * major value for this header, as per RFC 4457. 37600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang * This value is the Database name. The DB here refers 38600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang * to the IMS HSS. The DB name is encoded as a URI, delimited 39600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang * by the < and > signs. There may be generic parameters for 40600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang * this header encoded as URI parameters. They also lie between 41600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang * the < and > delimiters. However, this URI is neither a SIP URI 42600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang * nor a TEL URI. It is a DIAMETER AAA URI.The value of this AAA URI 43600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang * is consumed by the S-CSCF. The S-CSCF can cache the value of the 44600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang * HSS received in this header,thus optimizing the IMS registration 45600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang * process. 46600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang * 47600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang */ 48600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wangpublic interface PUserDatabaseHeader extends Parameters,Header 49600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang{ 50600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang public final static String NAME = "P-User-Database"; 51600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang 52600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang public String getDatabaseName(); 53600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang 54600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang public void setDatabaseName(String name); 55600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang 56600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang 57600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang 58600c7a4bbc7348167293eac928192e695b4ad5baChung-yih Wang} 59