/protocols/ss7/isup/isup-api/src/main/java/org/mobicents/protocols/ss7/isup/message/ConnectMessage.java
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
- /*
- * 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.isup.message;
-
- import org.mobicents.protocols.ss7.isup.message.parameter.AccessDeliveryInformation;
- import org.mobicents.protocols.ss7.isup.message.parameter.ApplicationTransportParameter;
- import org.mobicents.protocols.ss7.isup.message.parameter.BackwardCallIndicators;
- import org.mobicents.protocols.ss7.isup.message.parameter.BackwardGVNS;
- import org.mobicents.protocols.ss7.isup.message.parameter.CallHistoryInformation;
- import org.mobicents.protocols.ss7.isup.message.parameter.CallReference;
- import org.mobicents.protocols.ss7.isup.message.parameter.ConferenceTreatmentIndicators;
- import org.mobicents.protocols.ss7.isup.message.parameter.ConnectedNumber;
- import org.mobicents.protocols.ss7.isup.message.parameter.EchoControlInformation;
- import org.mobicents.protocols.ss7.isup.message.parameter.GenericNotificationIndicator;
- import org.mobicents.protocols.ss7.isup.message.parameter.GenericNumber;
- import org.mobicents.protocols.ss7.isup.message.parameter.HTRInformation;
- import org.mobicents.protocols.ss7.isup.message.parameter.NetworkSpecificFacility;
- import org.mobicents.protocols.ss7.isup.message.parameter.OptionalBackwardCallIndicators;
- import org.mobicents.protocols.ss7.isup.message.parameter.ParameterCompatibilityInformation;
- import org.mobicents.protocols.ss7.isup.message.parameter.PivotRoutingBackwardInformation;
- import org.mobicents.protocols.ss7.isup.message.parameter.RedirectStatus;
- import org.mobicents.protocols.ss7.isup.message.parameter.RedirectionNumberRestriction;
- import org.mobicents.protocols.ss7.isup.message.parameter.RemoteOperations;
- import org.mobicents.protocols.ss7.isup.message.parameter.ServiceActivation;
- import org.mobicents.protocols.ss7.isup.message.parameter.TransmissionMediumUsed;
- import org.mobicents.protocols.ss7.isup.message.parameter.UserToUserIndicators;
- import org.mobicents.protocols.ss7.isup.message.parameter.UserToUserInformation;
- import org.mobicents.protocols.ss7.isup.message.parameter.accessTransport.AccessTransport;
-
- /**
- * Start time:09:54:07 2009-07-23<br>
- * Project: mobicents-isup-stack<br>
- * <TABLE id="Table10" style="FONT-SIZE: 9pt; WIDTH: 584px; HEIGHT: 72px; TEXT-ALIGN: center" cellSpacing="1" cellPadding="1" width="584" align="center" border="1">
- * <TR>
- * <TD style="FONT-WEIGHT: bold; WIDTH: 328px; COLOR: teal; HEIGHT: 28px; TEXT-ALIGN: center" align="center" colSpan="3">
- *
- * <TABLE id="Table42" style="WIDTH: 575px; HEIGHT: 49px" cellSpacing="1" cellPadding="1" width="575" border="0">
- * <TR>
- * <TD style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: teal; HEIGHT: 28px; TEXT-ALIGN: center" colSpan="3">
- * Connect Message (CON)</TD>
- * </TR>
- * <TR>
- * <TD style="FONT-SIZE: 9pt; COLOR: navy" colSpan="3">
- * <P>
- * CON is sent in the backward direction indicating that all the address signals
- * required for routing the call to the called party have been received and
- * that the call has been answered.
- * </P>
- * </TD>
- *
- * </TR>
- * </TABLE>
- * </TD>
- * </TR>
- * <TR>
- * <TD style="FONT-WEIGHT: bold; WIDTH: 283px; HEIGHT: 30px; TEXT-ALIGN: center">
- * Parameter</TD>
- * <TD style="FONT-WEIGHT: bold; WIDTH: 145px; HEIGHT: 30px">Type</TD>
- * <TD style="FONT-WEIGHT: bold; HEIGHT: 30px">Length (octet)</TD>
- *
- * </TR>
- * <TR>
- * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Message type</TD>
- * <TD style="WIDTH: 145px">F</TD>
- * <TD>1</TD>
- * </TR>
- * <TR>
- *
- * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Backward Call Indicators</TD>
- * <TD style="WIDTH: 145px">O</TD>
- * <TD>2</TD>
- * </TR>
- * <TR>
- * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Optional Backward Call Indicators</TD>
- * <TD style="WIDTH: 145px">O</TD>
- *
- * <TD>3</TD>
- * </TR>
- * <TR>
- * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Call Reference</TD>
- * <TD style="WIDTH: 145px">O</TD>
- * <TD>7</TD>
- * </TR>
- *
- * <TR>
- * <TD style="WIDTH: 283px; TEXT-ALIGN: left">User to User Indicators</TD>
- * <TD style="WIDTH: 145px">O</TD>
- * <TD>3</TD>
- * </TR>
- * <TR>
- * <TD style="WIDTH: 283px; TEXT-ALIGN: left">User to User Information</TD>
- *
- * <TD style="WIDTH: 145px">O</TD>
- * <TD>3-131</TD>
- * </TR>
- * <TR>
- * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Connected Number</TD>
- * <TD style="WIDTH: 145px">O</TD>
- * <TD>4-12</TD>
- *
- * </TR>
- * <TR>
- * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Access Transport</TD>
- * <TD style="WIDTH: 145px">O</TD>
- * <TD>3-?</TD>
- * </TR>
- * <TR>
- *
- * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Generic Notification Indicator</TD>
- * <TD style="WIDTH: 145px">O</TD>
- * <TD>3</TD>
- * </TR>
- * <TR>
- * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Call History Information</TD>
- * <TD style="WIDTH: 145px">O</TD>
- *
- * <TD>3</TD>
- * </TR>
- * <TR>
- * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Transmission Medium Used</TD>
- * <TD style="WIDTH: 145px">O</TD>
- * <TD>3</TD>
- * </TR>
- *
- * <TR>
- * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Generic Number</TD>
- * <TD style="WIDTH: 145px">O</TD>
- * <TD>4-12</TD>
- * </TR>
- * <TR>
- * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Echo Control Information</TD>
- *
- * <TD style="WIDTH: 145px">O</TD>
- * <TD>3</TD>
- * </TR>
- * <TR>
- * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Access Delivery Information</TD>
- * <TD style="WIDTH: 145px">O</TD>
- * <TD>3</TD>
- *
- * </TR>
- * <TR>
- * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Redirection Number</TD>
- * <TD style="WIDTH: 145px">O</TD>
- * <TD>5-12</TD>
- * </TR>
- * <TR>
- *
- * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Parameter Compatibility
- * Information</TD>
- * <TD style="WIDTH: 145px">O</TD>
- * <TD>4-?</TD>
- * </TR>
- * <TR>
- * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Network Specific Facility</TD>
- * <TD style="WIDTH: 145px">O</TD>
- *
- * <TD>4-?</TD>
- * </TR>
- * <TR>
- * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Remote Operations</TD>
- * <TD style="WIDTH: 145px">O</TD>
- * <TD>?</TD>
- * </TR>
- *
- * <TR>
- * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Service Activation</TD>
- * <TD style="WIDTH: 145px">O</TD>
- * <TD>3-?</TD>
- * </TR>
- * <TR>
- * <TD style="WIDTH: 283px; TEXT-ALIGN: left">Redirection Number Restriction</TD>
- *
- * <TD style="WIDTH: 145px">O</TD>
- * <TD>3</TD>
- * </TR>
- * <TR>
- * <TD style="WIDTH: 283px; TEXT-ALIGN: left">End of Optional Parameters</TD>
- * <TD style="WIDTH: 145px">O</TD>
- * <TD>1</TD>
- *
- * </TR>
- * </TABLE>
- *
- * @author <a href="mailto:baranowb@gmail.com">Bartosz Baranowski </a>
- */
- public interface ConnectMessage extends ISUPMessage {
- /**
- * Connect Message, Q.763 reference table 27 <br> {@link ConnectMessage}
- */
- public static final int MESSAGE_CODE = 0x07;
-
- public void setBackwardCallIndicators(BackwardCallIndicators indicators);
-
- public BackwardCallIndicators getBackwardCallIndicators();
-
- public void setOptionalBackwardCallIndicators(OptionalBackwardCallIndicators value);
-
- public OptionalBackwardCallIndicators getOptionalBackwardCallIndicators();
-
- public void setConnectedNumber(ConnectedNumber value);
-
- public ConnectedNumber getConnectedNumber();
-
- public void setBackwardGVNS(BackwardGVNS value);
-
- public BackwardGVNS getBackwardGVNS();
-
- public void setCallReference(CallReference value);
-
- public CallReference getCallReference();
-
- public void setUserToUserIndicators(UserToUserIndicators value);
-
- public UserToUserIndicators getUserToUserIndicators();
-
- public void setUserToUserInformation(UserToUserInformation value);
-
- public UserToUserInformation getUserToUserInformation();
-
- public void setAccessTransport(AccessTransport value);
-
- public AccessTransport getAccessTransport();
-
- public void setNetworkSpecificFacility(NetworkSpecificFacility value);
-
- public NetworkSpecificFacility getNetworkSpecificFacility();
-
- public void setGenericNotificationIndicator(GenericNotificationIndicator value);
-
- public GenericNotificationIndicator getGenericNotificationIndicator();
-
- public void setRemoteOperations(RemoteOperations value);
-
- public RemoteOperations getRemoteOperations();
-
- public void setTransmissionMediumUsed(TransmissionMediumUsed value);
-
- public TransmissionMediumUsed getTransmissionMediumUsed();
-
- public void setEchoControlInformation(EchoControlInformation value);
-
- public EchoControlInformation getEchoControlInformation();
-
- public void setAccessDeliveryInformation(AccessDeliveryInformation value);
-
- public AccessDeliveryInformation getAccessDeliveryInformation();
-
- public void setCallHistoryInformation(CallHistoryInformation value);
-
- public CallHistoryInformation getCallHistoryInformation();
-
- public void setParameterCompatibilityInformation(ParameterCompatibilityInformation value);
-
- public ParameterCompatibilityInformation getParameterCompatibilityInformation();
-
- public void setServiceActivation(ServiceActivation value);
-
- public ServiceActivation getServiceActivation();
-
- public void setGenericNumber(GenericNumber value);
-
- public GenericNumber getGenericNumber();
-
- public RedirectionNumberRestriction getRedirectionNumberRestriction();
-
- public void setRedirectionNumberRestriction(RedirectionNumberRestriction value);
-
- public void setConferenceTreatmentIndicators(ConferenceTreatmentIndicators value);
-
- public ConferenceTreatmentIndicators getConferenceTreatmentIndicators();
-
- public void setApplicationTransportParameter(ApplicationTransportParameter value);
-
- public ApplicationTransportParameter getApplicationTransportParameter();
-
- public void setHTRInformation(HTRInformation value);
-
- public HTRInformation getHTRInformation();
-
- public void setPivotRoutingBackwardInformation(PivotRoutingBackwardInformation value);
-
- public PivotRoutingBackwardInformation getPivotRoutingBackwardInformation();
-
- public void setRedirectStatus(RedirectStatus value);
-
- public RedirectStatus getRedirectStatus();
-
- }