public class PingOp extends Object implements MessageOperation
This means, if SAP Convergent Charging is ready to accept usage events and engage the rating process.
Note
This operation does not check if the HCI listener in an instance of the SAP CC system is alive.
If the HTTP (for HCI) listener is not running, this operation will fail.
PingResult ServerFailureExceptionThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="ping"> </xs:element>
You can send this operation request in HCI messages to the following final target types of instances in the connected SAP CC system:
| Edition | Final Target Instances | |||||
| rater | updater | guider | bulkLoader | taxer | dispatcher | |
| charge | Yes | Yes | Yes | Yes | Yes | Yes |
| Modifier and Type | Field and Description |
|---|---|
static String |
OPERATION_NAME
The XML tag name of this service operation: "ping"
|
| Constructor and Description |
|---|
PingOp() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String cData)
Adds string data to this operation.
|
void |
addChild(String tagName,
XMLMarshallable child)
Adds a child tag to this operation.
|
String |
getName()
Returns the name of the operation, that is "ping".
|
void |
marshal(XMLOutputter output)
Writes the operation XML data to the given output.
|
void |
setAttributes(XMLAttributes atts)
Sets the operation attributes from the
XMLAttributes. |
public static final String OPERATION_NAME
public String getName()
getName in interface MessageOperationpublic void setAttributes(XMLAttributes atts)
XMLAttributes.setAttributes in interface XMLMarshallableatts - The XMLAttributes containing the datapublic void addCharacterData(String cData)
This data is ignored for this operation.
addCharacterData in interface XMLMarshallablecData - The character data to add to the operationpublic void addChild(String tagName, XMLMarshallable child)
This tag is ignored for this operation.
addChild in interface XMLMarshallabletagName - The name of the tagchild - The XMLMarshallable child to addpublic void marshal(XMLOutputter output)
marshal in interface XMLMarshallableoutput - The XMLOutputter to write into