Examples of BeforeMessageReceivedEvent


Examples of com.calclab.emite.core.events.BeforeMessageReceivedEvent

    this.initiatorUri = checkNotNull(initiatorUri);
    this.status = ChatStatus.locked;
  }
 
  protected void receiveMessage(final Message message) {
    eventBus.fireEventFromSource(new BeforeMessageReceivedEvent(message), this);
    eventBus.fireEventFromSource(new MessageReceivedEvent(message), this);
  }
View Full Code Here

Examples of com.calclab.emite.core.events.BeforeMessageReceivedEvent

    if (message.getSubject() != null) {
      eventBus.fireEventFromSource(new RoomSubjectChangedEvent(message.getFrom(), message.getSubject()), this);
      return;
    }
   
    eventBus.fireEventFromSource(new BeforeMessageReceivedEvent(message), this);
    eventBus.fireEventFromSource(new MessageReceivedEvent(message), this);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.