Esempio n. 1
0
  public boolean isNamespaceSupported(String namespaceName) {
    if (Sandesha2Constants.SPEC_2005_02.NS_URI.equals(namespaceName)) return true;

    if (Sandesha2Constants.SPEC_2007_02.NS_URI.equals(namespaceName)) return true;

    return false;
  }
Esempio n. 2
0
 public SequenceAcknowledgement(String namespaceValue, boolean _piggybacked) {
   this.namespaceValue = namespaceValue;
   if (Sandesha2Constants.SPEC_2005_02.NS_URI.equals(namespaceValue)) {
     omNamespace = Sandesha2Constants.SPEC_2005_02.OM_NS_URI;
   } else {
     omNamespace = Sandesha2Constants.SPEC_2007_02.OM_NS_URI;
   }
   acknowledgementRangeList = new ArrayList<Range>();
   nackList = new ArrayList<Long>();
   piggybacked = _piggybacked;
 }