43 CAMsg::printMsg(LOG_CRIT,
"CAAccountingControlChannel: User hash entry is NULL - creating control channel will fail!");
virtual ~CAAccountingControlChannel()
CAAccountingControlChannel(fmHashTableEntry *pHashEntry)
Creates a new accounting controlchannel and stores a pointer to this in the pHashEntry.
fmHashTableEntry * m_pHashEntry
SINT32 processXMLMessage(const XERCES_CPP_NAMESPACE::DOMDocument *a_doc)
processMessage - receives an XML msg and appends it to the AI message queue where it will be processe...
static SINT32 processJapMessage(fmHashTableEntry *pHashEntry, const XERCES_CPP_NAMESPACE::DOMDocument *a_DomDoc)
Handle a user (xml) message sent to us by the Jap through the ControlChannel.
static SINT32 initTableEntry(fmHashTableEntry *pHashEntry)
This must be called whenever a JAP is connecting to init our per-user data structures.
static SINT32 cleanupTableEntry(fmHashTableEntry *pHashEntry)
This should always be called when closing a JAP connection to cleanup the data structures.
static SINT32 printMsg(UINT32 typ, const char *format,...)
Writes a given message to the log.
A synchronous control channel.
#define ACCOUNT_CONTROL_CHANNEL_ID
CAAccountingControlChannel * pControlChannel
a pointer to the user-specific control channel object
tAiAccountingInfo * pAccountingInfo