|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xmlBlaster.client.qos.UpdateReturnQos
public final class UpdateReturnQos
Handling the returned QoS (quality of service) of an update() call.
If you are a Java client you can use this class to generate the QoS which you need to return in an update() Example:<qos> <state id='OK'/> </qos>
StatusQosFactoryTest
,
the interface.update requirementField Summary | |
---|---|
private StatusQosData |
statusQosData
|
Constructor Summary | |
---|---|
UpdateReturnQos(Global glob)
Create an instance with Constants.STATE_OK |
|
UpdateReturnQos(Global glob,
StatusQosData statusQosData)
Constructor which allows you to set the return state. |
|
UpdateReturnQos(Global glob,
java.lang.String state)
Constructor which allows you to set the return state. |
Method Summary | |
---|---|
void |
setState(java.lang.String state)
|
void |
setStateInfo(java.lang.String stateInfo)
|
java.lang.String |
toString()
|
java.lang.String |
toXml()
|
java.lang.String |
toXml(java.lang.String extraOffset)
Dump state of this object into a XML ASCII string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final StatusQosData statusQosData
Constructor Detail |
---|
public UpdateReturnQos(Global glob)
public UpdateReturnQos(Global glob, java.lang.String state)
state
- The state to return to the server. See Constants.javapublic UpdateReturnQos(Global glob, StatusQosData statusQosData)
statusQosData
- The pre filled raw data objectMethod Detail |
---|
public void setState(java.lang.String state)
state
- The state to return to the server.
e.g. Contants.STATE_OK, see Constants.javapublic void setStateInfo(java.lang.String stateInfo)
stateInfo
- The state info attribute to return to the server.public java.lang.String toXml()
toXml(String)
public java.lang.String toXml(java.lang.String extraOffset)
extraOffset
- indenting of tags for nice output
public java.lang.String toString()
toString
in class java.lang.Object
|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |