public class AckMessage extends Message
<?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>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
Constructor and Description |
---|
AckMessage(org.jdom.Element root)
Constructs a new AckMessage from an XML element
|
AckMessage(java.lang.String urid,
int status,
StampTable progressTable)
Constructs a new AckMessage
|
Modifier and Type | Method and Description |
---|---|
StampTable |
getProgressTable() |
int |
getStatus() |
java.lang.String |
toXml() |
getUrid, getXmlFooter, getXmlHeader, parse, stampToXml, toString
public static final java.lang.String REVISION
public AckMessage(java.lang.String urid, int status, StampTable progressTable)
urid
- the urid of the sender (i.e. replica that sends this message)status
- the status of the messageprogressTable
- the progressTable of the senderpublic AckMessage(org.jdom.Element root)
root
- the root element (i.e. the <ack>
tag)public int getStatus()
public StampTable getProgressTable()
Copyright © 2001-2010 Jalios SA. All Rights Reserved.