com.highdeal.admin.hci
Class PingOp

java.lang.Object
  extended by com.highdeal.admin.hci.PingOp
All Implemented Interfaces:
MessageOperation, XMLMarshallable

public class PingOp
extends java.lang.Object
implements MessageOperation

This operation allows you to check if the Administration Service of an instance in the SAP CC Core Server system is alive.

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.

Operation Result

PingResult

Operation Failure Exception

ServerFailureException

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

<xs:element name="ping">
 </xs:element>

Operation Availability

You can send this operation request in HCI messages to the following final target types of instances in the connected SAP CC system:

EditionFinal Target Instances
raterupdaterguiderbulkLoadertaxerdispatcher
chargeYesYesYesYesYesYes

Field Summary
static java.lang.String OPERATION_NAME
          The XML tag name of this service operation: "ping"
 
Constructor Summary
PingOp()
           
 
Method Summary
 void addCharacterData(java.lang.String cData)
          Adds string data to this operation.
 void addChild(java.lang.String tagName, XMLMarshallable child)
          Adds a child tag to this operation.
 java.lang.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPERATION_NAME

public static final java.lang.String OPERATION_NAME
The XML tag name of this service operation: "ping"

See Also:
Constant Field Values
Constructor Detail

PingOp

public PingOp()
Method Detail

getName

public java.lang.String getName()
Returns the name of the operation, that is "ping".

Specified by:
getName in interface MessageOperation
Returns:
"ping"

setAttributes

public void setAttributes(XMLAttributes atts)
Sets the operation attributes from the XMLAttributes.

Specified by:
setAttributes in interface XMLMarshallable
Parameters:
atts - The XMLAttributes containing the data

addCharacterData

public void addCharacterData(java.lang.String cData)
Adds string data to this operation.

This data is ignored for this operation.

Specified by:
addCharacterData in interface XMLMarshallable
Parameters:
cData - The character data to add to the operation

addChild

public void addChild(java.lang.String tagName,
                     XMLMarshallable child)
Adds a child tag to this operation.

This tag is ignored for this operation.

Specified by:
addChild in interface XMLMarshallable
Parameters:
tagName - The name of the tag
child - The XMLMarshallable child to add

marshal

public void marshal(XMLOutputter output)
Writes the operation XML data to the given output.

Specified by:
marshal in interface XMLMarshallable
Parameters:
output - The XMLOutputter to write into

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)