/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. package org.mobicents.protocols.ss7.m3ua.impl.oam;
  23. /**
  24. *
  25. * @author amit bhayani
  26. *
  27. */
  28. public interface M3UAOAMMessages {
  29. /**
  30. * Pre defined messages
  31. */
  32. public static final String INVALID_COMMAND = "Invalid Command";
  33. public static final String ADD_ASP_TO_AS_SUCESSFULL = "Successfully added ASP name=%s to AS name=%s";
  34. public static final String ADD_ASP_TO_AS_FAIL_NO_AS = "No AS found for given name %s";
  35. public static final String ADD_ASP_TO_AS_FAIL_NO_ASP = "No ASP found for given name %s";
  36. public static final String ASP_START_SUCESSFULL = "Successfully started ASP name=%s";
  37. public static final String ASP_STOP_SUCESSFULL = "Successfully stopped ASP name=%s";
  38. public static final String CREATE_AS_SUCESSFULL = "Successfully created AS name=%s";
  39. public static final String CREATE_AS_FAIL_NAME_EXIST = "Creation of AS failed. Other AS with name=%s already exist";
  40. public static final String CREATE_ASP_SUCESSFULL = "Successfully created ASP name=%s";
  41. public static final String CREATE_ASP_FAIL_NAME_EXIST = "Creation of ASP failed. Other ASP with name=%s already exist";
  42. public static final String CREATE_ASP_FAIL_IPPORT_EXIST = "Creation of ASP failed. Other ASP with ip=%s port=%d already exist";
  43. public static final String ROUTE_AS_FOR_DPC_EXIST = "AS=%s already routes for DPC=%d";
  44. public static final String ADD_ROUTE_AS_FOR_DPC_SUCCESSFULL = "AS=%s successfully added as route for DPC=%d";
  45. public static final String ADD_ROUTE_AS_FOR_DPC_FAIL_NO_AS = "No AS found for given name %s";
  46. public static final String NO_ROUTE_DEFINED_FOR_DPC = "No route defined for DPC=%d";
  47. public static final String NO_AS_ROUTE_FOR_DPC = "AS=%s doesn't routes for DPC=%d";
  48. public static final String REMOVE_AS_ROUTE_FOR_DPC_SUCCESSFULL = "Successfully removed AS=%s as route for DPC=%d";
  49. public static final String CMD_NOTSUPPORTED_M3UAMANAGEMENT_IS_SERVER = "The M3UAManagement is Server side and doesnt support command %s";
  50. public static final String NOT_SUPPORTED_YET = "Not supported yet";
  51. public static final String NO_ASP_DEFINED_YET = "No ASP defined yet";
  52. public static final String NO_AS_DEFINED_YET = "No AS defined yet";
  53. public static final String NO_ROUTE_DEFINED_YET = "No Route defined yet";
  54. /**
  55. * Generic constants
  56. */
  57. public static final String TAB = " ";
  58. public static final String NEW_LINE = "\n";
  59. public static final String COMMA = ",";
  60. /**
  61. * Show command specific contsnats
  62. */
  63. public static final String SHOW_ASSIGNED_TO = "Assigned to :\n";
  64. public static final String SHOW_ASP_NAME = "ASP name=";
  65. public static final String SHOW_AS_NAME = "AS name=";
  66. public static final String SHOW_SCTP_ASSOC = " sctpAssoc=";
  67. public static final String SHOW_STARTED = " started=";
  68. public static final String SHOW_FUNCTIONALITY = " functionality=";
  69. public static final String SHOW_MODE = " mode=";
  70. public static final String SHOW_IPSP_TYPE = " ipspType=";
  71. public static final String SHOW_LOCAL_FSM_STATE = " localFSMState=";
  72. public static final String SHOW_PEER_FSM_STATE = " peerFSMState=";
  73. }