PageRenderTime 26ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 0ms

/protocols/ss7/isup/isup-impl/src/main/java/org/mobicents/protocols/ss7/isup/impl/message/ChargeInformationMessageImpl.java

http://mobicents.googlecode.com/
Java | 113 lines | 28 code | 23 blank | 62 comment | 0 complexity | 30a47e7585fce912d61b3fd3006c0509 MD5 | raw file
Possible License(s): LGPL-3.0, GPL-3.0, LGPL-2.1, GPL-2.0, CC-BY-SA-3.0, CC0-1.0, Apache-2.0, BSD-3-Clause
  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. /**
  23. * Start time:00:12:12 2009-09-07<br>
  24. * Project: mobicents-isup-stack<br>
  25. *
  26. * @author <a href="mailto:baranowb@gmail.com">Bartosz Baranowski </a>
  27. */
  28. package org.mobicents.protocols.ss7.isup.impl.message;
  29. import org.mobicents.protocols.ss7.isup.ISUPParameterFactory;
  30. import org.mobicents.protocols.ss7.isup.ParameterException;
  31. import org.mobicents.protocols.ss7.isup.message.ChargeInformationMessage;
  32. import org.mobicents.protocols.ss7.isup.message.parameter.MessageType;
  33. /**
  34. * Start time:00:12:12 2009-09-07<br>
  35. * Project: mobicents-isup-stack<br>
  36. *
  37. * @author <a href="mailto:baranowb@gmail.com">Bartosz Baranowski
  38. * </a>
  39. */
  40. public class ChargeInformationMessageImpl extends ISUPMessageImpl implements ChargeInformationMessage {
  41. /**
  42. *
  43. * @param source
  44. * @throws ParameterException
  45. */
  46. public ChargeInformationMessageImpl(){
  47. }
  48. /* (non-Javadoc)
  49. * @see org.mobicents.protocols.ss7.isup.ISUPMessageImpl#decodeMandatoryParameters(byte[], int)
  50. */
  51. protected int decodeMandatoryParameters(ISUPParameterFactory parameterFactory,byte[] b, int index) throws ParameterException {
  52. // TODO Auto-generated method stub
  53. return 0;
  54. }
  55. /* (non-Javadoc)
  56. * @see org.mobicents.protocols.ss7.isup.ISUPMessageImpl#decodeMandatoryVariableBody(byte[], int)
  57. */
  58. protected void decodeMandatoryVariableBody(ISUPParameterFactory parameterFactory,byte[] parameterBody, int parameterIndex) throws ParameterException {
  59. // TODO Auto-generated method stub
  60. }
  61. /* (non-Javadoc)
  62. * @see org.mobicents.protocols.ss7.isup.ISUPMessageImpl#decodeOptionalBody(byte[], byte)
  63. */
  64. protected void decodeOptionalBody(ISUPParameterFactory parameterFactory,byte[] parameterBody, byte parameterCode) throws ParameterException {
  65. // TODO Auto-generated method stub
  66. }
  67. /* (non-Javadoc)
  68. * @see org.mobicents.protocols.ss7.isup.ISUPMessageImpl#getMessageType()
  69. */
  70. public MessageType getMessageType() {
  71. // TODO Auto-generated method stub
  72. return null;
  73. }
  74. /* (non-Javadoc)
  75. * @see org.mobicents.protocols.ss7.isup.ISUPMessageImpl#getNumberOfMandatoryVariableLengthParameters()
  76. */
  77. protected int getNumberOfMandatoryVariableLengthParameters() {
  78. // TODO Auto-generated method stub
  79. return 0;
  80. }
  81. /* (non-Javadoc)
  82. * @see org.mobicents.protocols.ss7.isup.ISUPMessageImpl#hasAllMandatoryParameters()
  83. */
  84. public boolean hasAllMandatoryParameters() {
  85. throw new UnsupportedOperationException();
  86. }
  87. protected boolean optionalPartIsPossible() {
  88. throw new UnsupportedOperationException();
  89. }
  90. }