public class RegisterMonitoringClientOp
extends java.lang.Object
implements com.highdeal.hci.MessageOperation
EventFailureExceptionThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="registerMonitoringClient">
<xs:complexType>
<xs:attribute name="address" type="xs:string"/>
<xs:attribute name="port" type="xs:integer"/>
</xs:complexType>
</xs:element>
| Constructor and Description |
|---|
RegisterMonitoringClientOp()
Builds an empty operation.
|
| 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. |
java.lang.String |
getAddress()
Gets the listening client address
|
java.lang.String |
getName()
Gets the XML attribute name.
|
int |
getPort()
Gets the client listening port
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAddress(java.lang.String address)
Sets the listening client address.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setPort(int port)
Sets the client listening port.
|
public RegisterMonitoringClientOp()
public java.lang.String getName()
getName in interface com.highdeal.hci.MessageOperationpublic java.lang.String getAddress()
public void setAddress(java.lang.String address)
address - the listening client addresspublic int getPort()
public void setPort(int port)
port - the client listening portpublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic 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 marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into