com.highdeal.bart.message
Class CDRServiceClient

java.lang.Object
  extended by com.highdeal.bart.message.CDRServiceClient
All Implemented Interfaces:
com.highdeal.barbus.ISSLContextProvider

public class CDRServiceClient
extends java.lang.Object
implements com.highdeal.barbus.ISSLContextProvider

This Java class provides the necessary operations to implement Offline Acquisition Services to develop an offline mediation application or connector to be able to send Consumption Detail Records (CDRs) to the SAP CC BART Server system for being charged by SAP Convergent Charging; This class enables synchronous communications via the Message TCP high-speed technical interface.

Implementation in Your Client Application

To develop a mediation connector you must implement in your client application:

Implementing the Preparation of CDRs

You must implement:

Implementing the Connection

The distant SAP CC BART Server system is identified by its hostname on which it is running and its listening port:

To manage your network traffic, this client can be bound to one or all the network interface(s) of the machine hosting your application. If you want to force this client to be bound to one specific network interface, you must specify the argument bindAddress with a valid IP address or a valid host name. Otherwise this client will be bound to all the network interfaces.
Whatever the bind address, the port of this client will be choosen automatically between all the available ports of the network interface(s).

Note

Consult the SAP CC Configuration Guide for more information about the communication settings and access points available in your landscape.

Client Timeout

You specify the maximal duration (in seconds), the response of a message has to be expected whatever the sent message. If no client timeout is needed, set timeout to NO_TIMEOUT.

Error Handling

This MessageClient will maintain the connection with the server opened. If the connection is closed because of network problem, this client will try to open again the connection with the server every 2 seconds.

Implementing the CDR Acquisition

Prerequisistes
Customizing Sequence