Package com.goodow.realtime.store

Examples of com.goodow.realtime.store.TextInsertedEvent


    model.bytesUsed -= length;
  }

  private void insertAndFireEvent(int index, String text, String sessionId, String userId) {
    assert index <= length();
    TextInsertedEvent event =
        new TextInsertedEventImpl(event(sessionId, userId).set("index", index).set("text", text));
    snapshot.insert(index, text);
    fireEvent(event);
    model.bytesUsed += text.length();
  }
View Full Code Here

TOP

Related Classes of com.goodow.realtime.store.TextInsertedEvent

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.