Package com.jalios.jstore.jsync
Class AckMessage
java.lang.Object
com.jalios.jstore.jsync.Message
com.jalios.jstore.jsync.AckMessage
This class represents a JSync AckMessage. Example of AckMessage
<?xml version='1.0' encoding='UTF-8'?>
<jsync version='1.0'>
<ack urid='r1' status='200'>
<stamp urid='r1' time='1234' />
<stamp urid='r2' time='2345' />
<stamp urid='r3' time='3456' />
</ack>
</jsync>
- Author:
- Olivier Dedieu
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionAckMessage(String urid, int status, StampTable progressTable) Constructs a new AckMessageAckMessage(org.jdom.Element root) Constructs a new AckMessage from an XML element -
Method Summary
Methods inherited from class com.jalios.jstore.jsync.Message
getTime, getUrid, getXmlFooter, getXmlHeader, parse, stampToXml, toString
-
Constructor Details
-
AckMessage
Constructs a new AckMessage- Parameters:
urid- the urid of the sender (i.e. replica that sends this message)status- the status of the messageprogressTable- the progressTable of the sender- Since:
- jcms-4.1
-
AckMessage
public AckMessage(org.jdom.Element root) Constructs a new AckMessage from an XML element- Parameters:
root- the root element (i.e. the<ack>tag)- Since:
- jcms-4.1
-
-
Method Details