/*
* JBoss, Home of Professional Open Source
* Copyright 2011, Red Hat, Inc. and/or its affiliates, and individual
* contributors as indicated by the @authors tag. All rights reserved.
* See the copyright.txt in the distribution for a full listing
* of individual contributors.
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License, v. 2.0.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License,
* v. 2.0 along with this distribution; if not, write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*/
package org.mobicents.protocols.ss7.map.api.service.mobility.subscriberInformation;
import java.io.Serializable;
import org.mobicents.protocols.ss7.map.api.primitives.IMEI;
import org.mobicents.protocols.ss7.map.api.primitives.MAPExtensionContainer;
/**
<code>
SubscriberInfo ::= SEQUENCE {
locationInformation [0] LocationInformation OPTIONAL,
subscriberState [1] SubscriberState OPTIONAL,
extensionContainer [2] ExtensionContainer OPTIONAL,
... ,
locationInformationGPRS [3] LocationInformationGPRS OPTIONAL,
ps-SubscriberState [4] PS-SubscriberState OPTIONAL,
imei [5] IMEI OPTIONAL,
ms-Classmark2 [6] MS-Classmark2 OPTIONAL,
gprs-MS-Class [7] GPRSMSClass OPTIONAL,
mnpInfoRes [8] MNPInfoRes OPTIONAL
}
-- If the HLR receives locationInformation, subscriberState or ms-Classmark2 from an SGSN
-- it shall discard them.
-- If the HLR receives locationInformationGPRS, ps-SubscriberState or gprs-MS-Class from
-- a VLR it shall discard them.
-- If the HLR receives parameters which it has not requested, it shall discard them.
</code>
*
* @author amit bhayani
*
*/
public interface SubscriberInfo extends Serializable {
LocationInformation getLocationInformation();
SubscriberState getSubscriberState();
MAPExtensionContainer getExtensionContainer();
LocationInformationGPRS getLocationInformationGPRS();
PSSubscriberState getPSSubscriberState();
IMEI getIMEI();
MSClassmark2 getMSClassmark2();
GPRSMSClass getGPRSMSClass();
MNPInfoRes getMNPInfoRes();
}