29 #ifndef __CAACCOUNTINGBIINTERFACE__ 
   30 #define __CAACCOUNTINGBIINTERFACE__ 
   38 #define PI_CONNECT_TIMEOUT 5000 
   40 #define XML_ELEMENT_CCS "CCs" 
   41 #define XML_ELEMENT_SETTLE_RESULT "SettleResult" 
   42 #define XML_ATTR_SETTLE_SUCCESSFUL "successful" 
   44 #define POST_CMD_SETTLEALL "/settleAll" 
This class encapsulates the connection to the JPI.
CAHttpClient * m_phttpClient
CAAccountingBIInterface()
private constructor just initializes fields, server configuration is done separately
SINT32 terminateBIConnection()
Terminate HTTP(s) connection to the BI (JPI)
CASocketAddrINet * m_pPiServerAddress
SINT32 initBIConnection()
Establishes HTTP(s) connection to the BI (JPI)
CAXMLErrorMessage ** settleAll(CAXMLCostConfirmation **CCs, UINT32 nrOfCCs, CAXMLErrorMessage **settleException)
SINT32 setPIServerConfiguration(CAXMLBI *pPiServerConfig)
~CAAccountingBIInterface()
private destructor
CACertificate * m_pPiServerCertificate
CAXMLErrorMessage * settle(CAXMLCostConfirmation &cc)
Send a cost confirmation to the JPI.
CATLSClientSocket * m_pSocket
This class represents a socket address for Internet (IP) connections.
This class encapsulates an error or success message.