com.ibm.diameter.rf.util
Class Accounting

java.lang.Object
  extended by com.ibm.diameter.rf.util.Accounting

public class Accounting
extends java.lang.Object

Holds the the values contained in Accounting Requests(ACR) and Accounting Answers(ACA).


Constructor Summary
Accounting()
           
 
Method Summary
 AppServInfo getAAppSrvInfo()
          Obtains the object containing information about server capabilities and identifiers.
 CauseCode getACauseCode()
          Obtains the object indicating if the transaction was successful.
 SDPmedia[] getASDPmedia()
          Obtains the object holding information about the media component.
 SipInfo getASipInfo()
          Obtains the object that holds information about the transaction.
 TrunkGroup getATrunkGroup()
          Obtains the object identifying the Public Telephone Switched Network (PSTN).
 java.lang.String getAuthorisedQos()
          Obtains the quality of service information.
 UUSdata getAUUSdata()
          Obtains the object containing the User-to-User Protocol information, which includes the amount of data transferred.
 java.lang.String getBearerService()
          Obtains the information about the used bearer service for the PSTN leg.
 java.lang.String getGgsnAddress()
          Obtains the address of the GGSN of IMS session.
 java.lang.String getImsChargingIndentifier()
          Obtains the IMS charging identifier (ICID) as generated by an IMS node for a sip session.
 int getRoleofNode()
          Obtains the role of the AS/CSCF.
 java.lang.String[] getSdpSessionDescription()
          Obtains the Security description protocol info on the session portion of the SDP data exchanged between the user agents in the sip transaction.
 java.lang.String getServedPartyIPaddress()
          Obtains the address of either the calling or called party.
 java.lang.String getServiceId()
          Obtains the id of the service being hosted by the Media Gateway Control Function(MRFC).
 java.lang.String getUserSessionId()
          Obtains the sip session containing the sip call ID.
 void setAAppSrvInfo(AppServInfo appSrvInfo)
          Sets the server information.
 void setACauseCode(CauseCode causeCode)
          Sets the cause code value.
 void setASDPmedia(SDPmedia[] pmedia)
          Sets the media component value.
 void setASipInfo(SipInfo sipInfo)
          Sets the transaction information.
 void setATrunkGroup(TrunkGroup trunkGroup)
          Sets the PSTN information.
 void setAuthorisedQos(java.lang.String authorisedQos)
          Sets the quality of service value.
 void setAUUSdata(UUSdata sdata)
          Sets the User-to-User Protocol information.
 void setBearerService(java.lang.String bearerService)
          Sets the bearer service value.
 void setGgsnAddress(java.lang.String ggsnAddress)
          Sets the GGSN address value.
 void setImsChargingIndentifier(java.lang.String imsChargingIndentifier)
          Sets the IMS charging identifier value.
 void setRoleofNode(int roleofNode)
          Sets the role of node value.
 void setSdpSessionDescription(java.lang.String[] sdpSessionDescription)
          Sets the SDP session description value.
 void setServedPartyIPaddress(java.lang.String servedPartyIPaddress)
          Sets the served party IP address value.
 void setServiceId(java.lang.String serviceId)
          Sets the service id value.
 void setUserSessionId(java.lang.String userSessionId)
          Sets the user sesion id value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Accounting

public Accounting()
Method Detail

getAAppSrvInfo

public AppServInfo getAAppSrvInfo()
Obtains the object containing information about server capabilities and identifiers. [Application-Server-Information] [Server-Capabilities] [Inter-Operator-Identifier]

Returns:
aAppSrvInfo

setAAppSrvInfo

public void setAAppSrvInfo(AppServInfo appSrvInfo)
Sets the server information.

Parameters:
appSrvInfo - The aAppSrvInfo to set.

getACauseCode

public CauseCode getACauseCode()
Obtains the object indicating if the transaction was successful. [Cause]

Returns:
aCauseCode

setACauseCode

public void setACauseCode(CauseCode causeCode)
Sets the cause code value.

Parameters:
causeCode - The aCauseCode to set.

getASDPmedia

public SDPmedia[] getASDPmedia()
Obtains the object holding information about the media component. *[SDP-Media-Component]

Returns:
aSDPmedia

setASDPmedia

public void setASDPmedia(SDPmedia[] pmedia)
Sets the media component value.

Parameters:
pmedia - The aSDPmedia to set.

getASipInfo

public SipInfo getASipInfo()
Obtains the object that holds information about the transaction. Those details include what type transaction is taking place and the parties involved. [Event-Type] [Time-stamps] [Calling-Party-Address] [Called-Party-Address]

Returns:
aSipInfo

setASipInfo

public void setASipInfo(SipInfo sipInfo)
Sets the transaction information.

Parameters:
sipInfo - The aSipInfo to set.

getATrunkGroup

public TrunkGroup getATrunkGroup()
Obtains the object identifying the Public Telephone Switched Network (PSTN). [Trunk-Group-ID]

Returns:
aTrunkGroup

setATrunkGroup

public void setATrunkGroup(TrunkGroup trunkGroup)
Sets the PSTN information.

Parameters:
trunkGroup - The aTrunkGroup to set.

getAuthorisedQos

public java.lang.String getAuthorisedQos()
Obtains the quality of service information. [Authorised-QoS]

Returns:
authorisedQos

setAuthorisedQos

public void setAuthorisedQos(java.lang.String authorisedQos)
Sets the quality of service value.

Parameters:
authorisedQos - The authorisedQos to set.

getAUUSdata

public UUSdata getAUUSdata()
Obtains the object containing the User-to-User Protocol information, which includes the amount of data transferred. [UUS-Data]

Returns:
aUUSdata

setAUUSdata

public void setAUUSdata(UUSdata sdata)
Sets the User-to-User Protocol information.

Parameters:
sdata - The aUUSdata to set.

getBearerService

public java.lang.String getBearerService()
Obtains the information about the used bearer service for the PSTN leg. [Bearer-Service]

Returns:
bearerService

setBearerService

public void setBearerService(java.lang.String bearerService)
Sets the bearer service value.

Parameters:
bearerService - The bearerService to set.

getGgsnAddress

public java.lang.String getGgsnAddress()
Obtains the address of the GGSN of IMS session. [GGSN-Address]

Returns:
ggsnAddress

setGgsnAddress

public void setGgsnAddress(java.lang.String ggsnAddress)
Sets the GGSN address value.

Parameters:
ggsnAddress - The ggsnAddress to set.

getImsChargingIndentifier

public java.lang.String getImsChargingIndentifier()
Obtains the IMS charging identifier (ICID) as generated by an IMS node for a sip session. [IMS-Charging-Identifier]

Returns:
imsChargingIndentifier

setImsChargingIndentifier

public void setImsChargingIndentifier(java.lang.String imsChargingIndentifier)
Sets the IMS charging identifier value.

Parameters:
imsChargingIndentifier - The imsChargingIndentifier to set.

getSdpSessionDescription

public java.lang.String[] getSdpSessionDescription()
Obtains the Security description protocol info on the session portion of the SDP data exchanged between the user agents in the sip transaction. Only attribute lines relevant for charging are recorded (e.g. ‘c=‘ , a=’) *[SDP-Session-Description]

Returns:
sdpSessionDescription

setSdpSessionDescription

public void setSdpSessionDescription(java.lang.String[] sdpSessionDescription)
Sets the SDP session description value.

Parameters:
sdpSessionDescription - The sdpSessionDescription to set.

getServedPartyIPaddress

public java.lang.String getServedPartyIPaddress()
Obtains the address of either the calling or called party. [Served-Party-IP-Address]

Returns:
servedPartyIPaddress

setServedPartyIPaddress

public void setServedPartyIPaddress(java.lang.String servedPartyIPaddress)
Sets the served party IP address value.

Parameters:
servedPartyIPaddress - The servedPartyIPaddress to set.

getServiceId

public java.lang.String getServiceId()
Obtains the id of the service being hosted by the Media Gateway Control Function(MRFC). The conference ID is used as the value of this parameter. [Service-ID]

Returns:
serviceId

setServiceId

public void setServiceId(java.lang.String serviceId)
Sets the service id value.

Parameters:
serviceId - The serviceId to set.

getUserSessionId

public java.lang.String getUserSessionId()
Obtains the sip session containing the sip call ID. [User-Session-ID]

Returns:
userSessionId

setUserSessionId

public void setUserSessionId(java.lang.String userSessionId)
Sets the user sesion id value.

Parameters:
userSessionId - The userSessionId to set.

getRoleofNode

public int getRoleofNode()
Obtains the role of the AS/CSCF. [Role-of-node]

Returns:
roleofNode

setRoleofNode

public void setRoleofNode(int roleofNode)
Sets the role of node value.

Parameters:
roleofNode - The roleofNode to set.


Copyright © 2006 IBM Corp. All Rights Reserved.