hp.opencall.media.tdm
Class CIC

java.lang.Object
  extended byhp.opencall.media.common.Address
      extended byhp.opencall.media.tdm.CIC
All Implemented Interfaces:
java.lang.Cloneable, hp.opencall.media.tdm.Identifiable, hp.opencall.media.tdm.Managable, hp.opencall.media.tdm.Mappable

public abstract class CIC
extends hp.opencall.media.common.Address
implements hp.opencall.media.tdm.Managable

ISUP CIC address. Made of a DPC and a CIC


Field Summary
 int ANSI
          ANSI CIC encoding
static java.lang.String[] cicUsage
           
 int HWlocation
           
static int INCOMING
           
 int ITU
          ITU CIC encoding
static int NO
          CIC usage charaterization
static int OUTGOING
           
static int RESERVED
           
 
Fields inherited from interface hp.opencall.media.tdm.Mappable
B_Channel, CIC, D_Channel, SS7Link
 
Constructor Summary
CIC(int DPC, int CIC)
          creates a CIC
CIC(int DPC, int CIC, int aUsage)
           
 
Method Summary
 boolean equals(java.lang.Object aObj)
           
 int getCIC()
           
 int getCircuitId()
           
 int getDPC()
           
 int getHWLocation()
           
 int getType()
          return Mappable type
 int getUsage()
           
 java.lang.String getUsageStr()
           
 boolean isAnOutgoingCarrier()
           
 void setHWLocation(int aHWlocation)
           
 java.lang.String toString()
           
 
Methods inherited from class hp.opencall.media.common.Address
greater, hashCode, overlap
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ANSI

public final int ANSI
ANSI CIC encoding

See Also:
Constant Field Values

ITU

public final int ITU
ITU CIC encoding

See Also:
Constant Field Values

HWlocation

public int HWlocation

NO

public static final int NO
CIC usage charaterization

See Also:
Constant Field Values

INCOMING

public static final int INCOMING
See Also:
Constant Field Values

OUTGOING

public static final int OUTGOING
See Also:
Constant Field Values

RESERVED

public static final int RESERVED
See Also:
Constant Field Values

cicUsage

public static final java.lang.String[] cicUsage
Constructor Detail

CIC

public CIC(int DPC,
           int CIC)
    throws hp.opencall.media.common.InvalidAddressFormat
creates a CIC


CIC

public CIC(int DPC,
           int CIC,
           int aUsage)
    throws hp.opencall.media.common.InvalidAddressFormat
Method Detail

getDPC

public int getDPC()
Specified by:
getDPC in interface hp.opencall.media.tdm.Identifiable

getCIC

public int getCIC()

getUsage

public int getUsage()

getUsageStr

public java.lang.String getUsageStr()

isAnOutgoingCarrier

public boolean isAnOutgoingCarrier()

equals

public boolean equals(java.lang.Object aObj)

setHWLocation

public void setHWLocation(int aHWlocation)
Specified by:
setHWLocation in interface hp.opencall.media.tdm.Identifiable

getHWLocation

public int getHWLocation()
Specified by:
getHWLocation in interface hp.opencall.media.tdm.Identifiable

getCircuitId

public int getCircuitId()
Specified by:
getCircuitId in interface hp.opencall.media.tdm.Identifiable

getType

public int getType()
return Mappable type

Specified by:
getType in interface hp.opencall.media.tdm.Mappable

toString

public java.lang.String toString()