PageRenderTime 69ms CodeModel.GetById 66ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/protocols/ss7/map/map-api/src/main/java/org/mobicents/protocols/ss7/map/api/primitives/CellGlobalIdOrServiceAreaIdOrLAI.java

http://mobicents.googlecode.com/
Java | 75 lines | 6 code | 6 blank | 63 comment | 0 complexity | 821ec88394c87961f19c18ed1eedd382 MD5 | raw file
 1/*
 2 * JBoss, Home of Professional Open Source
 3 * Copyright 2011, Red Hat, Inc. and individual contributors
 4 * by the @authors tag. See the copyright.txt in the distribution for a
 5 * full listing of individual contributors.
 6 *
 7 * This is free software; you can redistribute it and/or modify it
 8 * under the terms of the GNU Lesser General Public License as
 9 * published by the Free Software Foundation; either version 2.1 of
10 * the License, or (at your option) any later version.
11 *
12 * This software is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this software; if not, write to the Free
19 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21 */
22
23package org.mobicents.protocols.ss7.map.api.primitives;
24
25import java.io.Serializable;
26
27/**
28 * CellGlobalIdOrServiceAreaIdOrLAI ::= CHOICE {
29 *    cellGlobalIdOrServiceAreaIdFixedLength [0] CellGlobalIdOrServiceAreaIdFixedLength,
30 *    laiFixedLength [1] LAIFixedLength}
31 * 
32 * @author amit bhayani
33 *
34 */
35public interface CellGlobalIdOrServiceAreaIdOrLAI extends Serializable {
36	
37	/**
38	 * CellGlobalIdOrServiceAreaIdFixedLength ::= OCTET STRING (SIZE (7))
39     *		-- Refers to Cell Global Identification or Service Are Identification
40     *		-- defined in 3GPP TS 23.003.
41     *		-- The internal structure is defined as follows:
42     *		-- octet 1 bits 4321 Mobile Country Code 1st digit
43     *		-- bits 8765 Mobile Country Code 2nd digit
44     *		-- octet 2 bits 4321 Mobile Country Code 3rd digit
45     *		-- bits 8765 Mobile Network Code 3rd digit
46     *		-- or filler (1111) for 2 digit MNCs
47     *		-- octet 3 bits 4321 Mobile Network Code 1st digit
48     *		-- bits 8765 Mobile Network Code 2nd digit
49     *		-- octets 4 and 5 Location Area Code according to 3GPP TS 24.008
50     *		-- octets 6 and 7 Cell Identity (CI) value or
51     *		-- Service Area Code (SAC) value
52     *		-- according to 3GPP TS 23.003
53	 * 
54	 * @return
55	 */
56	public CellGlobalIdOrServiceAreaIdFixedLength getCellGlobalIdOrServiceAreaIdFixedLength();
57	
58	/**
59	 * LAIFixedLength ::= OCTET STRING (SIZE (5))
60     *		-- Refers to Location Area Identification defined in TS 3GPP TS 23.003 [17].
61     *		-- The internal structure is defined as follows:
62     *		-- octet 1 bits 4321 Mobile Country Code 1st digit
63     *		-- bits 8765 Mobile Country Code 2nd digit
64     *		-- octet 2 bits 4321 Mobile Country Code 3rd digit
65     *		-- bits 8765 Mobile Network Code 3rd digit
66     *		-- or filler (1111) for 2 digit MNCs
67     *		-- octet 3 bits 4321 Mobile Network Code 1st digit
68     *		-- bits 8765 Mobile Network Code 2nd digit
69     *		-- octets 4 and 5 Location Area Code according to TS 3GPP TS 24.008
70	 * 
71	 * @return
72	 */
73	public LAIFixedLength getLAIFixedLength();
74
75}