PageRenderTime 51ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/protocols/ss7/isup/isup-api/src/main/java/org/mobicents/protocols/ss7/isup/message/ConnectMessage.java

http://mobicents.googlecode.com/
Java | 309 lines | 76 code | 52 blank | 181 comment | 0 complexity | 47c6cd7155115ce119b8be144b429962 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. package org.mobicents.protocols.ss7.isup.message;
  23. import org.mobicents.protocols.ss7.isup.message.parameter.AccessDeliveryInformation;
  24. import org.mobicents.protocols.ss7.isup.message.parameter.ApplicationTransportParameter;
  25. import org.mobicents.protocols.ss7.isup.message.parameter.BackwardCallIndicators;
  26. import org.mobicents.protocols.ss7.isup.message.parameter.BackwardGVNS;
  27. import org.mobicents.protocols.ss7.isup.message.parameter.CallHistoryInformation;
  28. import org.mobicents.protocols.ss7.isup.message.parameter.CallReference;
  29. import org.mobicents.protocols.ss7.isup.message.parameter.ConferenceTreatmentIndicators;
  30. import org.mobicents.protocols.ss7.isup.message.parameter.ConnectedNumber;
  31. import org.mobicents.protocols.ss7.isup.message.parameter.EchoControlInformation;
  32. import org.mobicents.protocols.ss7.isup.message.parameter.GenericNotificationIndicator;
  33. import org.mobicents.protocols.ss7.isup.message.parameter.GenericNumber;
  34. import org.mobicents.protocols.ss7.isup.message.parameter.HTRInformation;
  35. import org.mobicents.protocols.ss7.isup.message.parameter.NetworkSpecificFacility;
  36. import org.mobicents.protocols.ss7.isup.message.parameter.OptionalBackwardCallIndicators;
  37. import org.mobicents.protocols.ss7.isup.message.parameter.ParameterCompatibilityInformation;
  38. import org.mobicents.protocols.ss7.isup.message.parameter.PivotRoutingBackwardInformation;
  39. import org.mobicents.protocols.ss7.isup.message.parameter.RedirectStatus;
  40. import org.mobicents.protocols.ss7.isup.message.parameter.RedirectionNumberRestriction;
  41. import org.mobicents.protocols.ss7.isup.message.parameter.RemoteOperations;
  42. import org.mobicents.protocols.ss7.isup.message.parameter.ServiceActivation;
  43. import org.mobicents.protocols.ss7.isup.message.parameter.TransmissionMediumUsed;
  44. import org.mobicents.protocols.ss7.isup.message.parameter.UserToUserIndicators;
  45. import org.mobicents.protocols.ss7.isup.message.parameter.UserToUserInformation;
  46. import org.mobicents.protocols.ss7.isup.message.parameter.accessTransport.AccessTransport;
  47. /**
  48. * Start time:09:54:07 2009-07-23<br>
  49. * Project: mobicents-isup-stack<br>
  50. * <TABLE id="Table10" style="FONT-SIZE: 9pt; WIDTH: 584px; HEIGHT: 72px; TEXT-ALIGN: center" cellSpacing="1" cellPadding="1" width="584" align="center" border="1">
  51. * <TR>
  52. * <TD style="FONT-WEIGHT: bold; WIDTH: 328px; COLOR: teal; HEIGHT: 28px; TEXT-ALIGN: center" align="center" colSpan="3">
  53. *
  54. * <TABLE id="Table42" style="WIDTH: 575px; HEIGHT: 49px" cellSpacing="1" cellPadding="1" width="575" border="0">
  55. * <TR>
  56. * <TD style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: teal; HEIGHT: 28px; TEXT-ALIGN: center" colSpan="3">
  57. * Connect Message (CON)</TD>
  58. * </TR>
  59. * <TR>
  60. * <TD style="FONT-SIZE: 9pt; COLOR: navy" colSpan="3">
  61. * <P>
  62. * CON is sent in the backward direction indicating that all the address signals
  63. * required for routing the call to the called party have been received and
  64. * that the call has been answered.
  65. * </P>
  66. * </TD>
  67. *
  68. * </TR>
  69. * </TABLE>
  70. * </TD>
  71. * </TR>
  72. * <TR>
  73. * <TD style="FONT-WEIGHT: bold; WIDTH: 283px; HEIGHT: 30px; TEXT-ALIGN: center">
  74. * Parameter</TD>
  75. * <TD style="FONT-WEIGHT: bold; WIDTH: 145px; HEIGHT: 30px">Type</TD>
  76. * <TD style="FONT-WEIGHT: bold; HEIGHT: 30px">Length (octet)</TD>
  77. *
  78. * </TR>
  79. * <TR>
  80. * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Message type</TD>
  81. * <TD style="WIDTH: 145px">F</TD>
  82. * <TD>1</TD>
  83. * </TR>
  84. * <TR>
  85. *
  86. * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Backward Call Indicators</TD>
  87. * <TD style="WIDTH: 145px">O</TD>
  88. * <TD>2</TD>
  89. * </TR>
  90. * <TR>
  91. * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Optional Backward Call Indicators</TD>
  92. * <TD style="WIDTH: 145px">O</TD>
  93. *
  94. * <TD>3</TD>
  95. * </TR>
  96. * <TR>
  97. * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Call Reference</TD>
  98. * <TD style="WIDTH: 145px">O</TD>
  99. * <TD>7</TD>
  100. * </TR>
  101. *
  102. * <TR>
  103. * <TD style="WIDTH: 283px; TEXT-ALIGN: left">User to User Indicators</TD>
  104. * <TD style="WIDTH: 145px">O</TD>
  105. * <TD>3</TD>
  106. * </TR>
  107. * <TR>
  108. * <TD style="WIDTH: 283px; TEXT-ALIGN: left">User to User Information</TD>
  109. *
  110. * <TD style="WIDTH: 145px">O</TD>
  111. * <TD>3-131</TD>
  112. * </TR>
  113. * <TR>
  114. * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Connected Number</TD>
  115. * <TD style="WIDTH: 145px">O</TD>
  116. * <TD>4-12</TD>
  117. *
  118. * </TR>
  119. * <TR>
  120. * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Access Transport</TD>
  121. * <TD style="WIDTH: 145px">O</TD>
  122. * <TD>3-?</TD>
  123. * </TR>
  124. * <TR>
  125. *
  126. * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Generic Notification Indicator</TD>
  127. * <TD style="WIDTH: 145px">O</TD>
  128. * <TD>3</TD>
  129. * </TR>
  130. * <TR>
  131. * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Call History Information</TD>
  132. * <TD style="WIDTH: 145px">O</TD>
  133. *
  134. * <TD>3</TD>
  135. * </TR>
  136. * <TR>
  137. * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Transmission Medium Used</TD>
  138. * <TD style="WIDTH: 145px">O</TD>
  139. * <TD>3</TD>
  140. * </TR>
  141. *
  142. * <TR>
  143. * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Generic Number</TD>
  144. * <TD style="WIDTH: 145px">O</TD>
  145. * <TD>4-12</TD>
  146. * </TR>
  147. * <TR>
  148. * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Echo Control Information</TD>
  149. *
  150. * <TD style="WIDTH: 145px">O</TD>
  151. * <TD>3</TD>
  152. * </TR>
  153. * <TR>
  154. * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Access Delivery Information</TD>
  155. * <TD style="WIDTH: 145px">O</TD>
  156. * <TD>3</TD>
  157. *
  158. * </TR>
  159. * <TR>
  160. * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Redirection Number</TD>
  161. * <TD style="WIDTH: 145px">O</TD>
  162. * <TD>5-12</TD>
  163. * </TR>
  164. * <TR>
  165. *
  166. * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Parameter Compatibility
  167. * Information</TD>
  168. * <TD style="WIDTH: 145px">O</TD>
  169. * <TD>4-?</TD>
  170. * </TR>
  171. * <TR>
  172. * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Network Specific Facility</TD>
  173. * <TD style="WIDTH: 145px">O</TD>
  174. *
  175. * <TD>4-?</TD>
  176. * </TR>
  177. * <TR>
  178. * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Remote Operations</TD>
  179. * <TD style="WIDTH: 145px">O</TD>
  180. * <TD>?</TD>
  181. * </TR>
  182. *
  183. * <TR>
  184. * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Service Activation</TD>
  185. * <TD style="WIDTH: 145px">O</TD>
  186. * <TD>3-?</TD>
  187. * </TR>
  188. * <TR>
  189. * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Redirection Number Restriction</TD>
  190. *
  191. * <TD style="WIDTH: 145px">O</TD>
  192. * <TD>3</TD>
  193. * </TR>
  194. * <TR>
  195. * <TD style="WIDTH: 283px; TEXT-ALIGN: left">End of Optional Parameters</TD>
  196. * <TD style="WIDTH: 145px">O</TD>
  197. * <TD>1</TD>
  198. *
  199. * </TR>
  200. * </TABLE>
  201. *
  202. * @author <a href="mailto:baranowb@gmail.com">Bartosz Baranowski </a>
  203. */
  204. public interface ConnectMessage extends ISUPMessage {
  205. /**
  206. * Connect Message, Q.763 reference table 27 <br> {@link ConnectMessage}
  207. */
  208. public static final int MESSAGE_CODE = 0x07;
  209. public void setBackwardCallIndicators(BackwardCallIndicators indicators);
  210. public BackwardCallIndicators getBackwardCallIndicators();
  211. public void setOptionalBackwardCallIndicators(OptionalBackwardCallIndicators value);
  212. public OptionalBackwardCallIndicators getOptionalBackwardCallIndicators();
  213. public void setConnectedNumber(ConnectedNumber value);
  214. public ConnectedNumber getConnectedNumber();
  215. public void setBackwardGVNS(BackwardGVNS value);
  216. public BackwardGVNS getBackwardGVNS();
  217. public void setCallReference(CallReference value);
  218. public CallReference getCallReference();
  219. public void setUserToUserIndicators(UserToUserIndicators value);
  220. public UserToUserIndicators getUserToUserIndicators();
  221. public void setUserToUserInformation(UserToUserInformation value);
  222. public UserToUserInformation getUserToUserInformation();
  223. public void setAccessTransport(AccessTransport value);
  224. public AccessTransport getAccessTransport();
  225. public void setNetworkSpecificFacility(NetworkSpecificFacility value);
  226. public NetworkSpecificFacility getNetworkSpecificFacility();
  227. public void setGenericNotificationIndicator(GenericNotificationIndicator value);
  228. public GenericNotificationIndicator getGenericNotificationIndicator();
  229. public void setRemoteOperations(RemoteOperations value);
  230. public RemoteOperations getRemoteOperations();
  231. public void setTransmissionMediumUsed(TransmissionMediumUsed value);
  232. public TransmissionMediumUsed getTransmissionMediumUsed();
  233. public void setEchoControlInformation(EchoControlInformation value);
  234. public EchoControlInformation getEchoControlInformation();
  235. public void setAccessDeliveryInformation(AccessDeliveryInformation value);
  236. public AccessDeliveryInformation getAccessDeliveryInformation();
  237. public void setCallHistoryInformation(CallHistoryInformation value);
  238. public CallHistoryInformation getCallHistoryInformation();
  239. public void setParameterCompatibilityInformation(ParameterCompatibilityInformation value);
  240. public ParameterCompatibilityInformation getParameterCompatibilityInformation();
  241. public void setServiceActivation(ServiceActivation value);
  242. public ServiceActivation getServiceActivation();
  243. public void setGenericNumber(GenericNumber value);
  244. public GenericNumber getGenericNumber();
  245. public RedirectionNumberRestriction getRedirectionNumberRestriction();
  246. public void setRedirectionNumberRestriction(RedirectionNumberRestriction value);
  247. public void setConferenceTreatmentIndicators(ConferenceTreatmentIndicators value);
  248. public ConferenceTreatmentIndicators getConferenceTreatmentIndicators();
  249. public void setApplicationTransportParameter(ApplicationTransportParameter value);
  250. public ApplicationTransportParameter getApplicationTransportParameter();
  251. public void setHTRInformation(HTRInformation value);
  252. public HTRInformation getHTRInformation();
  253. public void setPivotRoutingBackwardInformation(PivotRoutingBackwardInformation value);
  254. public PivotRoutingBackwardInformation getPivotRoutingBackwardInformation();
  255. public void setRedirectStatus(RedirectStatus value);
  256. public RedirectStatus getRedirectStatus();
  257. }