Package net.pterodactylus.sone.core.event

Examples of net.pterodactylus.sone.core.event.NewPostFoundEvent


          continue;
        }
        if (newPost.getTime() < getSoneFollowingTime(sone)) {
          newPost.setKnown(true);
        } else if (!newPost.isKnown()) {
          eventBus.post(new NewPostFoundEvent(newPost));
        }
      }
      /* store posts. */
      database.storePosts(sone, sone.getPosts());
      if (!soneRescueMode) {
View Full Code Here


    if (recipient.isPresent()) {
      postBuilder.to(recipient.get().getId());
    }
    final Post post = postBuilder.build();
    database.storePost(post);
    eventBus.post(new NewPostFoundEvent(post));
    sone.addPost(post);
    touchConfiguration();
    localElementTicker.schedule(new Runnable() {

      /**
 
View Full Code Here

TOP

Related Classes of net.pterodactylus.sone.core.event.NewPostFoundEvent

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.