public class UpdateMessage extends Message
  
 <?xml version='1.0' encoding='UTF-8'?>
 <jsync version='1.0'>
   <update urid='r1'>
     <pt>
       <stamp urid='r1' time='1234' />
       <stamp urid='r2' time='2345' />
       <stamp urid='r3' time='3456' />
      </pt>
     <ops>
       <category stamp="r1_1" id="r1_1" op="create" data="my data 1"  />
       <generated.Article stamp="r1_2" id="r1_2" op="create" data="my data 2"  />
      </ops>
     <files>
       <file url='http://www/f1.txt' path='f1.txt' lastModified='1083915719021' size='12345' ticket='ticket1'/>
       <file url='http://www/dir/f2.txt' path='dir/f2.txt' lastModified='1083915719021' size='23456' ticket='ticket2'/>
     </files>
   </update>
 </jsync>
 
 | Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
REVISION  | 
| Constructor and Description | 
|---|
UpdateMessage(org.jdom.Element root)
Constructs a new UpdateMessage from an XML element 
 | 
UpdateMessage(java.lang.String urid,
             StampTable progressTable,
             java.util.List<StorableLogEntry> opList,
             java.util.Set<FileEntry> fileSet)
Constructs a new UpdateMessage 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.Set<FileEntry> | 
getFileSet()  | 
java.util.List<StorableLogEntry> | 
getOpList()  | 
StampTable | 
getProgressTable()  | 
java.lang.String | 
toXml()  | 
getTime, getUrid, getXmlFooter, getXmlHeader, parse, stampToXml, toStringpublic static final java.lang.String REVISION
public UpdateMessage(java.lang.String urid,
                     StampTable progressTable,
                     java.util.List<StorableLogEntry> opList,
                     java.util.Set<FileEntry> fileSet)
urid - the urid of the senderopList - the list of LogEntry to sendfileSet - the set of file (URL) to sendpublic UpdateMessage(org.jdom.Element root)
root - the root element (i.e. the <update>  tag)public StampTable getProgressTable()
public java.util.List<StorableLogEntry> getOpList()
public java.util.Set<FileEntry> getFileSet()
Copyright © 2001-2018 Jalios SA. All Rights Reserved.