This class includes methods that get and set information for the User-to-User protocol that is used by Accounting.
The methods can get or set details about the specific transaction, such as what type of data and how much data was transferred. This information can be used to determine how much to charge.
This class organizes information about User-to-User protocol data. The Accounting class passes the information to the Charging Collection Function.
Accounting acct = new Accounting(); UUSdata data = new UUSdata(); data.setAmountOfUUSdata("435"); data.setDirection(0); data.setMimeType("image/jpeg"); acct.setAUUSdata(data);
Method | Parameters | Type | Description |
---|---|---|---|
setAmountOfUUSdata | amountOfUUSdata | String | Defines the amount of User-to-User data in the body of the SIP message |
setMimeType | mimeType | String | Defines AVP/MIME type for the User-to-User data |
setDirection | direction | int | Defines the direction that User-to-User data travels
|