com.hp.opencall.isup.message
Class IsupMsg

java.lang.Object
  extended bycom.hp.opencall.isup.message.IsupMsg
All Implemented Interfaces:
Cloneable, Serializable
Direct Known Subclasses:
IsupAcm, IsupAnm, IsupCon, IsupCpg, IsupFaa, IsupFac, IsupFar, IsupFrj, IsupIam, IsupInf, IsupInr, IsupRel, IsupRes, IsupRlc, IsupSus

public class IsupMsg
extends Object
implements Serializable, Cloneable

This message class a base class for all ISUP messages classes manipulated by the ISUP API. The error handling relies on a stored class object, and is used when associated methods are called. This class allows stack errors, and has a convenient signature for all accessors which are not expected to fail.

See Also:
Serialized Form

Field Summary
static byte ACM
          ENUM TYPES Address Complete Message
static byte ALT
           
static byte ANM
          Answer
static byte APM
           
static byte BLA
          Blocking Acknowledgement
static byte BLO
          Blocking
static byte CCL
           
static byte CCR
          Continuity check Request
static byte CFN
          Confusion
static byte CGB
          Circuit Group Blocking
static byte CGBA
          Circuit Group Blocking Acknowledgement
static byte CGU
          Circuit Group Unblocking
static byte CGUA
          Circuit Group Unblocking Acknowledgement
static byte CHG
           
static byte CHT
           
static byte CMC
          Call Modification Completed (for ITU only)
static byte CMR
          Call Modification Request (for ITU only)
static byte CMRJ
          Call Modification Reject (for ITU only)
static byte CON
          Connect (for ITU only)
static byte COT
          Continuity
static byte CPG
          Call Progress
static byte CQM
          Circuit Group Query
static byte CQR
          Circuit Group Query Response
static byte CRA
          Circuit Reservation Acknowledgement (for ANSI only)
static byte CRG
          Charge Information (for ITU only)
static byte CRM
          Circuit Reservation (for ANSI only)
static byte CVR
          Circuit Validation Response (for ANSI only)
static byte CVT
          Circuit Validation Test (for ANSI only)
static byte DRS
          Delayed Release (for ITU only)
static byte EXM
          Exit
static byte FAA
          Facility Accepted (for ITU only)
static byte FAC
          Facility message (for ANSI ) CCY
static byte FAR
          Facility Rejected (for ITU only)
static byte FOT
          Forward Transfer
static byte FRJ
          Facility Reject (for ITU only)
static byte GRA
          Circuit Group Reset Acknowledgement
static byte GRS
          Circuit Group Reset
static byte IAM
          Initial Address
static byte INF
          Information
static byte INR
          Information Request (for ITU only)
static byte ITX
           
static byte LOP
           
static byte LPA
          Loop Back Acknowledgement
static byte MPM
           
static short MSGSET_NOTSET
           
static byte NRM
           
static byte OLM
          Overload (for ITU only)
static byte OPR
           
static byte PRG
           
static byte PRI
           
static byte REL
          Release
static byte RES
          Resume
static byte RLC
          Release Complete
static byte RSC
          Reset Circuit
static byte SAM
          Subsequent Address (for ITU only)
static byte SGM
           
static byte SUS
          Suspend
static byte TAX
           
static byte TXA
           
static byte UBA
          Unblocking Acknowledgement
static byte UBL
          Unblocking
static byte UCIC
          Unequipped Circuit Identification Code
static byte UKWN
           
static byte UPA
           
static byte UPT
           
static byte USERDEF
          Defined by user
static byte USERMSG
           
static byte USR
          User To User Information (for ITU only)
 
Method Summary
 boolean equals(byte value)
           
 void freeMsgMemory()
          Deprecated. do nothing...
 short getMsgsetId()
          return the msg set ID...
 byte getMsgType()
          Returns the message type (IAM, ANM..., UserDef) of the current message.
 byte[] getPDU()
           
 boolean isObjectValid()
          Deprecated. always return true
 void setMsgsetId(short value)
          set the MsgSet ID
 void setPDU(byte[] newRawMsg)
          set raw msg
 String toString()
          toString method
 String typeToStr()
          return the message type (String format)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ACM

public static final byte ACM
ENUM TYPES Address Complete Message

See Also:
Constant Field Values

ANM

public static final byte ANM
Answer

See Also:
Constant Field Values

BLA

public static final byte BLA
Blocking Acknowledgement

See Also:
Constant Field Values

BLO

public static final byte BLO
Blocking

See Also:
Constant Field Values

CCR

public static final byte CCR
Continuity check Request

See Also:
Constant Field Values

CFN

public static final byte CFN
Confusion

See Also:
Constant Field Values

CGB

public static final byte CGB
Circuit Group Blocking

See Also:
Constant Field Values

CGBA

public static final byte CGBA
Circuit Group Blocking Acknowledgement

See Also:
Constant Field Values

CGU

public static final byte CGU
Circuit Group Unblocking

See Also:
Constant Field Values

CGUA

public static final byte CGUA
Circuit Group Unblocking Acknowledgement

See Also:
Constant Field Values

CMC

public static final byte CMC
Call Modification Completed (for ITU only)

See Also:
Constant Field Values

CMR

public static final byte CMR
Call Modification Request (for ITU only)

See Also:
Constant Field Values

CMRJ

public static final byte CMRJ
Call Modification Reject (for ITU only)

See Also:
Constant Field Values

CON

public static final byte CON
Connect (for ITU only)

See Also:
Constant Field Values

COT

public static final byte COT
Continuity

See Also:
Constant Field Values

CPG

public static final byte CPG
Call Progress

See Also:
Constant Field Values

CRG

public static final byte CRG
Charge Information (for ITU only)

See Also:
Constant Field Values

CQM

public static final byte CQM
Circuit Group Query

See Also:
Constant Field Values

CQR

public static final byte CQR
Circuit Group Query Response

See Also:
Constant Field Values

CRA

public static final byte CRA
Circuit Reservation Acknowledgement (for ANSI only)

See Also:
Constant Field Values

CRM

public static final byte CRM
Circuit Reservation (for ANSI only)

See Also:
Constant Field Values

CVR

public static final byte CVR
Circuit Validation Response (for ANSI only)

See Also:
Constant Field Values

CVT

public static final byte CVT
Circuit Validation Test (for ANSI only)

See Also:
Constant Field Values

DRS

public static final byte DRS
Delayed Release (for ITU only)

See Also:
Constant Field Values

EXM

public static final byte EXM
Exit

See Also:
Constant Field Values

FAA

public static final byte FAA
Facility Accepted (for ITU only)

See Also:
Constant Field Values

FAR

public static final byte FAR
Facility Rejected (for ITU only)

See Also:
Constant Field Values

FOT

public static final byte FOT
Forward Transfer

See Also:
Constant Field Values

FRJ

public static final byte FRJ
Facility Reject (for ITU only)

See Also:
Constant Field Values

GRA

public static final byte GRA
Circuit Group Reset Acknowledgement

See Also:
Constant Field Values

GRS

public static final byte GRS
Circuit Group Reset

See Also:
Constant Field Values

IAM

public static final byte IAM
Initial Address

See Also:
Constant Field Values

INF

public static final byte INF
Information

See Also:
Constant Field Values

INR

public static final byte INR
Information Request (for ITU only)

See Also:
Constant Field Values

LPA

public static final byte LPA
Loop Back Acknowledgement

See Also:
Constant Field Values

OLM

public static final byte OLM
Overload (for ITU only)

See Also:
Constant Field Values

REL

public static final byte REL
Release

See Also:
Constant Field Values

RES

public static final byte RES
Resume

See Also:
Constant Field Values

RLC

public static final byte RLC
Release Complete

See Also:
Constant Field Values

RSC

public static final byte RSC
Reset Circuit

See Also:
Constant Field Values

SAM

public static final byte SAM
Subsequent Address (for ITU only)

See Also:
Constant Field Values

SUS

public static final byte SUS
Suspend

See Also:
Constant Field Values

UBA

public static final byte UBA
Unblocking Acknowledgement

See Also:
Constant Field Values

UBL

public static final byte UBL
Unblocking

See Also:
Constant Field Values

UCIC

public static final byte UCIC
Unequipped Circuit Identification Code

See Also:
Constant Field Values

FAC

public static final byte FAC
Facility message (for ANSI ) CCY

See Also:
Constant Field Values

USR

public static final byte USR
User To User Information (for ITU only)

See Also:
Constant Field Values

USERDEF

public static final byte USERDEF
Defined by user

See Also:
Constant Field Values

USERMSG

public static final byte USERMSG
See Also:
Constant Field Values

SGM

public static final byte SGM
See Also:
Constant Field Values

NRM

public static final byte NRM
See Also:
Constant Field Values

LOP

public static final byte LOP
See Also:
Constant Field Values

UPT

public static final byte UPT
See Also:
Constant Field Values

UPA

public static final byte UPA
See Also:
Constant Field Values

UKWN

public static final byte UKWN
See Also:
Constant Field Values

PRG

public static final byte PRG
See Also:
Constant Field Values

ALT

public static final byte ALT
See Also:
Constant Field Values

CHG

public static final byte CHG
See Also:
Constant Field Values

APM

public static final byte APM
See Also:
Constant Field Values

PRI

public static final byte PRI
See Also:
Constant Field Values

ITX

public static final byte ITX
See Also:
Constant Field Values

TXA

public static final byte TXA
See Also:
Constant Field Values

CHT

public static final byte CHT
See Also:
Constant Field Values

TAX

public static final byte TAX
See Also:
Constant Field Values

MPM

public static final byte MPM
See Also:
Constant Field Values

CCL

public static final byte CCL
See Also:
Constant Field Values

OPR

public static final byte OPR
See Also:
Constant Field Values

MSGSET_NOTSET

public static final short MSGSET_NOTSET
See Also:
Constant Field Values
Method Detail

setMsgsetId

public void setMsgsetId(short value)
set the MsgSet ID


getMsgsetId

public short getMsgsetId()
return the msg set ID...


freeMsgMemory

public void freeMsgMemory()
Deprecated. do nothing...


getMsgType

public byte getMsgType()
Returns the message type (IAM, ANM..., UserDef) of the current message.

Returns:
byte

isObjectValid

public boolean isObjectValid()
                      throws com.hp.opencall.isup.message.MsgException
Deprecated. always return true

This method returns a validity indicator value.

Returns:
boolean
Throws:
MsgException - if the method fails (returns the reason as a parameter)
com.hp.opencall.isup.message.MsgException

toString

public String toString()
toString method

Returns:
String

typeToStr

public String typeToStr()
return the message type (String format)

Returns:
String - message type

getPDU

public byte[] getPDU()
Returns:
raw msg may return num

setPDU

public void setPDU(byte[] newRawMsg)
set raw msg


equals

public boolean equals(byte value)
Returns:
true if the messageType are equals