Mixes for Privacy and Anonymity in the Internet
Public Member Functions | Private Attributes
CAAccountingBIInterface Class Reference

This class encapsulates the connection to the JPI. More...

List of all members.

Public Member Functions

 CAAccountingBIInterface ()
 private constructor just initializes fields, server configuration is done separately
 ~CAAccountingBIInterface ()
 private destructor
SINT32 setPIServerConfiguration (CAXMLBI *pPiServerConfig)
SINT32 initBIConnection ()
 Establishes HTTP(s) connection to the BI (JPI)
SINT32 terminateBIConnection ()
 Terminate HTTP(s) connection to the BI (JPI)
CAXMLErrorMessagesettle (CAXMLCostConfirmation &cc)
 Send a cost confirmation to the JPI.
CAXMLErrorMessage ** settleAll (CAXMLCostConfirmation **CCs, UINT32 nrOfCCs, CAXMLErrorMessage **settleException)

Private Attributes

CATLSClientSocketm_pSocket
CAHttpClientm_phttpClient
CASocketAddrINetm_pPiServerAddress
CACertificatem_pPiServerCertificate

Detailed Description

This class encapsulates the connection to the JPI.

Author:
Bastian Voigt

Constructor & Destructor Documentation

private constructor just initializes fields, server configuration is done separately

References m_phttpClient, m_pPiServerAddress, and m_pSocket.

private destructor

References m_phttpClient, m_pPiServerAddress, m_pSocket, and terminateBIConnection().


Member Function Documentation


Member Data Documentation