/* * 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; /** * <p> * This is used to indicate whether or not a registration was successful. * </p> * <p> * <ul> * <li>0 Successfully Registered</li> * <li>1 Error - Unknown</li> * <li>2 Error - Invalid DPC</li> * <li>3 Error - Invalid Network Appearance</li> * <li>4 Error - Invalid Routing Key</li> * <li>5 Error - Permission Denied</li> * <li>6 Error - Cannot Support Unique Routing</li> * <li>7 Error - Routing Key not Currently Provisioned</li> * <li>8 Error - Insufficient Resources</li> * <li>9 Error - Unsupported RK parameter Field</li> * <li>10 Error - Unsupported/Invalid Traffic Handling Mode</li> * <li>11 Error - Routing Key Change Refused</li> * <li>12 Error - Routing Key Already Registered</li> * </ul> * </p> * * @author amit bhayani * */ public interface RegistrationStatus extends Parameter { int getStatus(); }