Package org.prevayler.socketserver.example.server

Examples of org.prevayler.socketserver.example.server.Todo


  /**
   * @see org.prevayler.util.TransactionWithQuery#executeAndQuery(Object, Date)
   */
  public Object executeAndQuery(Object prevalentSystem, Date timestamp) throws Exception {
    TodoList todoList = (TodoList) prevalentSystem;
    Todo todo = todoList.newTodo();
    todo.setDesc(desc);

    // Notify interested clients that the list just changed
    // Note that much more complex notification schemes can be devised
    // than this.
    Notification.submit(senderID, "ListChanged", todoList);
View Full Code Here

TOP

Related Classes of org.prevayler.socketserver.example.server.Todo

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.