PageRenderTime 33ms CodeModel.GetById 25ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/protocols/ss7/m3ua/impl/src/main/java/org/mobicents/protocols/ss7/m3ua/impl/oam/M3UAOAMMessages.java

http://mobicents.googlecode.com/
Java | 111 lines | 38 code | 38 blank | 35 comment | 0 complexity | 9782394d3e60e0c17a779299d08b608a 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.m3ua.impl.oam;
 24
 25/**
 26 * 
 27 * @author amit bhayani
 28 *
 29 */
 30public interface M3UAOAMMessages {
 31
 32	/**
 33	 * Pre defined messages
 34	 */
 35	public static final String INVALID_COMMAND = "Invalid Command";
 36
 37	public static final String ADD_ASP_TO_AS_SUCESSFULL = "Successfully added ASP name=%s to AS name=%s";
 38
 39	public static final String ADD_ASP_TO_AS_FAIL_NO_AS = "No AS found for given name %s";
 40
 41	public static final String ADD_ASP_TO_AS_FAIL_NO_ASP = "No ASP found for given name %s";
 42
 43	public static final String ASP_START_SUCESSFULL = "Successfully started ASP name=%s";
 44
 45	public static final String ASP_STOP_SUCESSFULL = "Successfully stopped ASP name=%s";
 46
 47	public static final String CREATE_AS_SUCESSFULL = "Successfully created AS name=%s";
 48
 49	public static final String CREATE_AS_FAIL_NAME_EXIST = "Creation of AS failed. Other AS with name=%s already exist";
 50
 51	public static final String CREATE_ASP_SUCESSFULL = "Successfully created ASP name=%s";
 52
 53	public static final String CREATE_ASP_FAIL_NAME_EXIST = "Creation of ASP failed. Other ASP with name=%s already exist";
 54
 55	public static final String CREATE_ASP_FAIL_IPPORT_EXIST = "Creation of ASP failed. Other ASP with ip=%s port=%d already exist";
 56
 57	public static final String ROUTE_AS_FOR_DPC_EXIST = "AS=%s already routes for DPC=%d";
 58
 59	public static final String ADD_ROUTE_AS_FOR_DPC_SUCCESSFULL = "AS=%s successfully added as route for DPC=%d";
 60
 61	public static final String ADD_ROUTE_AS_FOR_DPC_FAIL_NO_AS = "No AS found for given name %s";
 62
 63	public static final String NO_ROUTE_DEFINED_FOR_DPC = "No route defined for DPC=%d";
 64
 65	public static final String NO_AS_ROUTE_FOR_DPC = "AS=%s doesn't routes for DPC=%d";
 66
 67	public static final String REMOVE_AS_ROUTE_FOR_DPC_SUCCESSFULL = "Successfully removed AS=%s as route for DPC=%d";
 68
 69	public static final String CMD_NOTSUPPORTED_M3UAMANAGEMENT_IS_SERVER = "The M3UAManagement is Server side and doesnt support command %s";
 70	
 71	public static final String NOT_SUPPORTED_YET = "Not supported yet";
 72	
 73	public static final String NO_ASP_DEFINED_YET = "No ASP defined yet";
 74	
 75	public static final String NO_AS_DEFINED_YET = "No AS defined yet";
 76	
 77	public static final String NO_ROUTE_DEFINED_YET = "No Route defined yet";
 78	
 79	/**
 80	 * Generic constants
 81	 */
 82	public static final String TAB = "        ";
 83	
 84	public static final String NEW_LINE = "\n";
 85	
 86	public static final String COMMA = ",";
 87	
 88	/**
 89	 * Show command specific contsnats
 90	 */
 91	public static final String SHOW_ASSIGNED_TO = "Assigned to :\n";
 92	
 93	public static final String SHOW_ASP_NAME = "ASP name=";
 94	
 95	public static final String SHOW_AS_NAME = "AS name=";
 96	
 97	public static final String SHOW_SCTP_ASSOC = " sctpAssoc=";
 98	
 99	public static final String SHOW_STARTED = " started=";
100	
101	public static final String SHOW_FUNCTIONALITY = " functionality=";
102	
103	public static final String SHOW_MODE = " mode=";
104	
105	public static final String SHOW_IPSP_TYPE = " ipspType=";
106	
107	public static final String SHOW_LOCAL_FSM_STATE = " localFSMState=";
108	
109	public static final String SHOW_PEER_FSM_STATE = " peerFSMState=";
110
111}