org.mobicents.protocols.ss7.isup
Interface ISUPComponent

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
AbstractNAINumberInterface, AbstractNumberInterface, AbstractPointCodeInterface, AccessDeliveryInformation, AccessTransport, AddressCompleteMessage, AnswerMessage, ApplicationTransportMessage, ApplicationTransportParameter, AutomaticCongestionLevel, BackwardCallIndicators, BackwardGVNS, BlockingAckMessage, BlockingMessage, CallDiversionInformation, CallDiversionTreatmentIndicators, CalledDirectoryNumber, CalledINNumber, CalledNumber, CalledPartyNumber, CallHistoryInformation, CallingPartyCategory, CallingPartyNumber, CallOfferingTreatmentIndicators, CallProgressMessage, CallReference, CallTransferNumber, CallTransferReference, CauseIndicators, CCNRPossibleIndicator, CCSS, ChargeInformationMessage, CircuitAssigmentMap, CircuitGroupBlockingAckMessage, CircuitGroupBlockingMessage, CircuitGroupQueryMessage, CircuitGroupQueryResponseMessage, CircuitGroupResetAckMessage, CircuitGroupResetMessage, CircuitGroupSuperVisionMessageType, CircuitGroupUnblockingAckMessage, CircuitGroupUnblockingMessage, CircuitIdentificationCode, CircuitStateIndicator, ClosedUserGroupInterlockCode, CollectCallRequest, ConferenceTreatmentIndicators, ConfusionMessage, ConnectedNumber, ConnectionRequest, ConnectMessage, ContinuitiyIndicators, ContinuityCheckRequestMessage, ContinuityMessage, CorrelationID, DisplayInformation, EchoControlInformation, EndOfOptionalParameters, EventInformation, FacilityAcceptedMessage, FacilityIndicator, FacilityMessage, FacilityRejectedMessage, FacilityRequestMessage, ForwardCallIndicators, ForwardGVNS, ForwardTransferMessage, GenericDigits, GenericNotificationIndicator, GenericNumber, GenericReference, GVNSUserGroup, HopCounter, HTRInformation, IdentificationRequestMessage, IdentificationResponseMessage, InformationIndicators, InformationMessage, InformationRequestIndicators, InformationRequestMessage, InitialAddressMessage, InstructionIndicators, InvokingPivotReason, ISUPMessage, ISUPParameter, LocationNumber, LoopbackAckMessage, LoopPreventionIndicators, LoopPreventionMessage, MCIDRequestIndicators, MCIDResponseIndicators, MessageType, MLPPPrecedence, NatureOfConnectionIndicators, NetworkManagementControls, NetworkResourceManagementMessage, NetworkRoutingNumber, NetworkSpecificFacility, OptionalBackwardCallIndicators, OptionalForwardCallIndicators, OriginalCalledINNumber, OriginalCalledNumber, OriginatingISCPointCode, OriginatingParticipatingServiceProvider, OverloadMessage, ParameterCompatibilityInformation, PassAlongMessage, PerformingPivotIndicator, PivotCapability, PivotCounter, PivotRoutingBackwardInformation, PivotRoutingForwardInformation, PivotRoutingIndicators, PreReleaseInformationMessage, PropagationDelayCounter, QueryOnReleaseCapability, RangeAndStatus, RedirectBackwardInformation, RedirectCapability, RedirectCounter, RedirectingNumber, RedirectionInformation, RedirectionNumber, RedirectionNumberRestriction, RedirectStatus, ReleaseCompleteMessage, ReleaseMessage, RemoteOperations, Reserved, ResetCircuitMessage, ResumeMessage, ReturnToInvokingExchangeCallIdentifier, ReturnToInvokingExchangePossible, SCFID, SegmentationMessage, ServiceActivation, SignalingPointCode, SubsequentAddressMessage, SubsequentDirectoryNumberMessage, SubsequentNumber, SuspendMessage, SuspendResumeIndicators, TerminatingNetworkRoutingNumber, TransimissionMediumRequierementPrime, TransitNetworkSelection, TransmissionMediumRequirement, TransmissionMediumUsed, UIDActionIndicators, UIDCapabilityIndicators, UnblockingAckMessage, UnblockingMessage, UnequippedCICMessage, User2UserInformationMessage, UserPartAvailableMessage, UserPartTestMessage, UserServiceInformation, UserServiceInformationPrime, UserTeleserviceInformation, UserToUserIndicators, UserToUserInformation

public interface ISUPComponent
extends java.io.Serializable

Start time:13:34:05 2009-03-29
Project: mobicents-isup-stack
This is super interface for all components that can be parsed/encoded by ISUP stack. It provides two essential methods that abtract decoding/encoding.

Author:
Bartosz Baranowski

Field Summary
static int _PROTOCOL_VERSION
           
 
Method Summary
 int decodeElement(byte[] b)
          Decodes this element from passed byte[] array.
 byte[] encodeElement()
          Encodes elements as byte[].it contains body.
 int encodeElement(java.io.ByteArrayOutputStream bos)
          Encodes elements as byte[].
 

Field Detail

_PROTOCOL_VERSION

static final int _PROTOCOL_VERSION
See Also:
Constant Field Values
Method Detail

decodeElement

int decodeElement(byte[] b)
                  throws ParameterRangeInvalidException
Decodes this element from passed byte[] array. This array must contain only element data. however in case of constructor elements it may contain more information elements that consist of tag, length and contents elements, this has to be handled accordingly in this method.

Parameters:
b -
Returns:
Throws:
ParameterRangeInvalidException

encodeElement

byte[] encodeElement()
                     throws java.io.IOException
Encodes elements as byte[].it contains body. (tag, length and Contents. See B.4/Q.763 - page 119)

Returns:
byte[] with encoded element.
Throws:
java.io.IOException

encodeElement

int encodeElement(java.io.ByteArrayOutputStream bos)
                  throws java.io.IOException
Encodes elements as byte[]. It contains body. (tag, length and Contents. See B.4/Q.763 - page 119)

Returns:
number of bytes encoded
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.