public class ClientInfo extends java.lang.Object implements XMLMarshallable, java.lang.Comparable<ClientInfo>
Java class represents information about a charging client application or system that is connected to the SAP CC Core Server system;
Implement the List Clients operation to handle this information in your client application.
This information includes:
Consult the list_clients command in the SAP CC Admin+ user interface for more information.
ListClientsOpThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="clientInfo">
<xs:complexType>
<xs:attribute name="dispatcherClientId" type="xs:integer" use="required"/>
<xs:attribute name="hostname" type="xs:string" use="required"/>
<xs:attribute name="port" type="xs:integer" use="required"/>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="startDate" type="xs:dateTime" use="required"/>
<xs:attribute name="pid" type="xs:string"/>
<xs:attribute name="statisticsEnabled" type="xs:boolean" use="required"/>
<xs:attribute name="connectionDate" type="xs:dateTime" use="required"/>
<xs:attribute name="login" type="xs:string"/>
</xs:complexType>
</xs:element>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG_NAME
The XLM element name of this data model: clientInfo
|
| Constructor and Description |
|---|
ClientInfo()
Creates a client information object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element.
|
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
int |
compareTo(ClientInfo o) |
java.util.Date |
getConnectionDate()
Gets the date when the charging client connected to the SAP CC system.
|
int |
getDispatcherClientId()
Gets the identifier of the charging client in the dispatcher instance of the SAP CC system.
|
java.lang.String |
getHostname()
Gets the name of the host the charging client is connecting from.
|
java.lang.String |
getLogin()
Gets the login used to authenticate the client.
|
java.lang.String |
getName()
Gets the name of the charging client.
|
java.lang.String |
getPid()
Gets the process identifier of the charging client.
|
int |
getPort()
Gets the port number the charging client is connecting from.
|
java.util.Date |
getStartDate()
Gets the date when the charging client started.
|
boolean |
isStatisticsEnabled()
Gets whether statistics are enabled for the charging client.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setConnectionDate(java.util.Date connectionDate)
Sets the date when the charging client connected to the SAP CC system.
|
void |
setDispatcherClientId(int dispatcherClientId)
Sets the identifier of the charging client in the dispatcher instance.
|
void |
setHostname(java.lang.String hostname)
Sets the name of the host the charging client is connecting from.
|
void |
setLogin(java.lang.String login)
Sets the login used to authenticate the client.
|
void |
setName(java.lang.String name)
Sets the name of the charging client.
|
void |
setPid(java.lang.String pid)
Sets the process identifier of the charging client.
|
void |
setPort(int port)
Sets the port number the charging client is connecting from.
|
void |
setStartDate(java.util.Date startDate)
Sets the date when the charging client started.
|
void |
setStatisticsEnabled(boolean statisticsEnabled)
Sets whether statistics are enabled for the charging client.
|
public static final java.lang.String TAG_NAME
public void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void addCharacterData(java.lang.String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object intopublic int getDispatcherClientId()
public void setDispatcherClientId(int dispatcherClientId)
dispatcherClientId - The identifier of the charging client in the dispatcher instancepublic java.lang.String getHostname()
public void setHostname(java.lang.String hostname)
hostname - The name of the host the charging client is connecting frompublic int getPort()
public void setPort(int port)
port - The port number the charging client is connecting frompublic java.lang.String getName()
public void setName(java.lang.String name)
name - The name of the charging clientpublic java.lang.String getPid()
public void setPid(java.lang.String pid)
pid - The process identifier of the charging clientpublic java.util.Date getStartDate()
public void setStartDate(java.util.Date startDate)
startDate - The date when the charging client startedpublic java.util.Date getConnectionDate()
public void setConnectionDate(java.util.Date connectionDate)
connectionDate - The date when the charging client connected to the SAP CC systempublic boolean isStatisticsEnabled()
true if statistics are enabled for the charging client, false otherwisepublic void setStatisticsEnabled(boolean statisticsEnabled)
statisticsEnabled - true if statistics are enabled for the charging client, false otherwisepublic java.lang.String getLogin()
public void setLogin(java.lang.String login)
login - the login used to authenticate the clientpublic int compareTo(ClientInfo o)
compareTo in interface java.lang.Comparable<ClientInfo>