/*
* JBoss, Home of Professional Open Source
* Copyright 2011, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.mobicents.protocols.ss7.m3ua.parameter;
/**
* The status parameter is used in the notify message to provide the status of the specified entity. There are two fields in
* this parameter, the status type and the status information field. The status information field provides the current state of
* the entity identified in the routing context of the notify message.
*
* @author amit bhayani
*
*/
public interface Status extends Parameter {
int STATUS_AS_State_Change = 0x01;
int STATUS_Other = 0x02;
// If the Status Type is AS-State_Change the following Status Information
// values are used:
int INFO_Reserved = 0x01;
int INFO_AS_INACTIVE = 0x02;
int INFO_AS_ACTIVE = 0x03;
int INFO_AS_PENDING = 0x04;
// If the Status Type is Other, then the following Status Information values
// are defined:
int INFO_Insufficient_ASP_Resources_Active = 0x01;
int INFO_Alternate_ASP_Active = 0x02;
int INFO_Alternate_ASP_Failure = 0x03;
int getType();
int getInfo();
}