Package com.goodow.realtime.store.impl

Examples of com.goodow.realtime.store.impl.CollaboratorImpl


  private JsonObject getCollaborator(String sessionId) {
    JsonObject toRtn = collaborators.get(sessionId);
    if (toRtn == null) {
      String displyName = anonymousUsers.getDisplyName();
      Collaborator collaborator =
          new CollaboratorImpl(anonymousUsers.getUserId(), sessionId, displyName,
                                  anonymousUsers.getColor(), false, true,
                                  anonymousUsers.getPhotoUrl(displyName));
      toRtn = new JsonObject(JacksonUtil.<JreJsonObject>convert(collaborator).toNative());
      toRtn.removeField(Key.IS_ME);
      collaborators.put(sessionId, toRtn);
View Full Code Here

TOP

Related Classes of com.goodow.realtime.store.impl.CollaboratorImpl

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.