com.ibm.xdms.function
Interface UsageRecordLogger
- All Superinterfaces:
- Function
public interface UsageRecordLogger
- extends Function
The DomXmlProcessor class handles the function of processing an XML document.
This includes the ability to for a DOM object from a string representation of
the XML document as well as validating the document against the schemas.
Field Summary |
static java.lang.String |
COPYRIGHT
|
Method Summary |
void |
logSIPRecord(java.lang.String requester,
java.lang.String sipType,
java.lang.String document,
int subscribeBytes,
int notifyBytes,
int statusCode,
java.lang.String pChargingFunctionAddresses,
java.lang.String pChargingVector)
Logs a SIP Record |
void |
logXCAPRecord(java.lang.String requester,
java.lang.String xcapType,
java.lang.String document,
int requestBytes,
int responseBytes,
int statusCode)
Logs an XCAP Record |
COPYRIGHT
static final java.lang.String COPYRIGHT
logXCAPRecord
void logXCAPRecord(java.lang.String requester,
java.lang.String xcapType,
java.lang.String document,
int requestBytes,
int responseBytes,
int statusCode)
throws XdmsException
- Logs an XCAP Record
- Parameters:
requester
- The requesterxcapType
- The XCAP request Type (same as HTTP METHOD)document
- The document selectorrequestBytes
- The request content lengthresponseBytes
- The response content lengthstatusCode
- The response status code
- Throws:
XdmsException
logSIPRecord
void logSIPRecord(java.lang.String requester,
java.lang.String sipType,
java.lang.String document,
int subscribeBytes,
int notifyBytes,
int statusCode,
java.lang.String pChargingFunctionAddresses,
java.lang.String pChargingVector)
throws XdmsException
- Logs a SIP Record
- Parameters:
requester
- The requestersipType
- The SIP request Type such as SUBSCRIBEdocument
- The document selector *subscribeBytes
- The subscribe content lengthnotifyBytes
- The notify content lengthstatusCode
- The response status codepChargingFunctionAddresses
- The CCF addresses for chargingpChargingVector
- The charging vector
- Throws:
XdmsException