org.mobicents.protocols.ss7.isup.message.parameter
Interface RangeAndStatus

All Superinterfaces:
ISUPComponent, ISUPParameter, java.io.Serializable

public interface RangeAndStatus
extends ISUPParameter

Start time:13:52:59 2009-07-23
Project: mobicents-isup-stack
This RangeAndStatus indiactes whcih CICs, starting from one present in message are affected. Range indicates how many CICs are potentially affected. Status contains bits indicating CIC affected(1 - affected, 0 - not affected)
For content interpretation refer to Q.763 3.43

Author:
Bartosz Baranowski

Field Summary
static int _PARAMETER_CODE
           
 
Fields inherited from interface org.mobicents.protocols.ss7.isup.ISUPComponent
_PROTOCOL_VERSION
 
Method Summary
 byte getRange()
          Fetches range.
 byte[] getStatus()
          Gets raw status part.
 boolean isAffected(byte b)
           
 void setAffected(byte subrange, boolean v)
           
 void setRange(byte range)
          Sets range.
 void setRange(byte range, boolean addStatus)
          Sets range.
 void setStatus(byte[] status)
          Gets raw status part.
 
Methods inherited from interface org.mobicents.protocols.ss7.isup.message.parameter.ISUPParameter
getCode
 
Methods inherited from interface org.mobicents.protocols.ss7.isup.ISUPComponent
decodeElement, encodeElement, encodeElement
 

Field Detail

_PARAMETER_CODE

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

getRange

byte getRange()
Fetches range.

Returns:

setRange

void setRange(byte range,
              boolean addStatus)
Sets range.

Parameters:
range -
addStatus - - flag indicates if implementation should create proper status

setRange

void setRange(byte range)
Sets range.

Parameters:
range -

getStatus

byte[] getStatus()
Gets raw status part.

Returns:

setStatus

void setStatus(byte[] status)
Gets raw status part.


setAffected

void setAffected(byte subrange,
                 boolean v)
                 throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

isAffected

boolean isAffected(byte b)
                   throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException


Copyright © 2010. All Rights Reserved.