Package org.cipango.kaleo.event

Examples of org.cipango.kaleo.event.State


    Presence presence = document.addNewPresence();
    presence.setEntity(getUri());
    Tuple tuple = document.getPresence().addNewTuple();
    tuple.setId("123");
    tuple.addNewStatus().setBasic(Basic.CLOSED);
    return new State(PresenceEventPackage.PIDF, document);
  }
View Full Code Here


        cursor.insertNamespace(name, namespaces.get(name));
      }
      cursor.pop();
      XmlObject o = cursor.getObject();
      cursor.dispose();
      return new State(contentType, o);
    }
  }
View Full Code Here

      }
    }
    else
      reg.setState(org.cipango.kaleo.location.event.RegistrationDocument.Registration.State.INIT);
   
    _state = new State(RegEventPackage.REGINFO, _content);
  }
View Full Code Here

    reginfo.setVersion(BigInteger.ZERO);
    reginfo.setState(org.cipango.kaleo.location.event.ReginfoDocument.Reginfo.State.FULL);
    Registration reg = reginfo.addNewRegistration();
    reg.setAor(getUri());
    reg.setId("123");
    return new State(RegEventPackage.REGINFO, document);
  }
View Full Code Here

        watcher.setEvent(getEvent(subscription.getReason()));
      }
    }
   
    // TODO set watchers
    _state = new State(WatcherInfoEventPackage.WATCHERINFO, _content);
  }
View Full Code Here

    watcherinfo.setVersion(BigInteger.ZERO);
    WatcherList list = watcherinfo.addNewWatcherList();
    list.setResource(getUri());
    list.setPackage(PresenceEventPackage.NAME);
   
    return new State(WatcherInfoEventPackage.WATCHERINFO, document);
  }
View Full Code Here

TOP

Related Classes of org.cipango.kaleo.event.State

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.