Package com.calclab.emite.core.events

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


    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

Related Classes of com.calclab.emite.core.events.BeforeMessageReceivedEvent

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.