Code example for EventBus

Methods: post

0
 
  public void stopTracking(Session session) 
  { 
    sessionTracker.finishTracking();
    sessionTracker = new InactiveSessionTracker(taskQueue);
    eventBus.post(new SessionStoppedEvent(session));
  } 
 
  public void setTitle(long sessionId, String title)
  { 
    sessionTracker.setTitle(sessionId, title);
  } 
 
  public void setTags(long sessionId, String tags)
  { 
    sessionTracker.setTags(sessionId, tags);
  } 
 
  public void setDescription(long sessionId, String description)
  {