com.jalios.jstore.jsync
Class AckMessage
java.lang.Object
   com.jalios.jstore.jsync.Message
com.jalios.jstore.jsync.Message
       com.jalios.jstore.jsync.AckMessage
com.jalios.jstore.jsync.AckMessage
- public class AckMessage 
- extends Message
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>
 
- Version:
- $Revision: 21412 $
- Author:
- Olivier Dedieu
 
| Constructor Summary | 
| AckMessage(org.jdom.Element root)Constructs a new AckMessage from an XML element
 | 
| AckMessage(String urid,
           int status,
           StampTable progressTable)Constructs a new AckMessage
 | 
 
 
 
 
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
AckMessage
public AckMessage(String urid,
                  int status,
                  StampTable progressTable)
- Constructs a new AckMessage
 
- Parameters:
- urid- the urid of the sender (i.e. replica that sends this message)
- status- the status of the message
- progressTable- 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
 
getStatus
public int getStatus()
- 
- Returns:
- the status of this message
- Since:
- jcms-4.1
 
getProgressTable
public StampTable getProgressTable()
- 
- Returns:
- the progressTable of this message
- Since:
- jcms-4.1
 
toXml
public String toXml()
- 
- Specified by:
- toXmlin class- Message
 
- 
- Returns:
- an XML representation of this message
- Since:
- jcms-4.1
 
Copyright © 2001-2007 Jalios SA. All Rights Reserved.