com.jalios.jstore.jsync
Class DisjoinMessage

java.lang.Object
  extended by com.jalios.jstore.jsync.Message
      extended by com.jalios.jstore.jsync.DisjoinMessage

public class DisjoinMessage
extends Message

This class represents a JSync JoinMessage. Example of JoinMessage

 <?xml version='1.0' encoding='UTF-8'?>
 <jsync version='1.0'>
   <dijoin urid='r1' />
 </jsync>
 

Version:
$Revision: 27753 $
Author:
Olivier Dedieu

Field Summary
static String REVISION
           
 
Constructor Summary
DisjoinMessage(org.jdom.Element root)
          Constructs a new DisjoinMessage from an XML element
DisjoinMessage(String urid)
          Constructs a new DijoinMessage
 
Method Summary
 String toXml()
           
 
Methods inherited from class com.jalios.jstore.jsync.Message
getUrid, getXmlFooter, getXmlHeader, parse, stampToXml, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Constructor Detail

DisjoinMessage

public DisjoinMessage(String urid)
Constructs a new DijoinMessage

Parameters:
urid - the urid of the sender
Since:
jcms-4.1

DisjoinMessage

public DisjoinMessage(org.jdom.Element root)
Constructs a new DisjoinMessage from an XML element

Parameters:
root - the root element (i.e. the <disjoin> tag)
Since:
jcms-4.1
Method Detail

toXml

public String toXml()
Specified by:
toXml in class Message
Returns:
an XML representation of this message
Since:
jcms-4.1


Copyright © 2001-2010 Jalios SA. All Rights Reserved.