Package com.calclab.emite.core.events

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


    message.setType(Message.Type.chat);
    message.setThread(thread);

    eventBus.fireEventFromSource(new BeforeMessageSentEvent(message), this);
    session.send(message);
    eventBus.fireEventFromSource(new MessageSentEvent(message), this);
  }
View Full Code Here


    message.setTo(roomUri.getJID());
    message.setType(Message.Type.groupchat);
   
    eventBus.fireEventFromSource(new BeforeMessageSentEvent(message), this);
    session.send(message);
    eventBus.fireEventFromSource(new MessageSentEvent(message), this);
  }
View Full Code Here

    message.setTo(XmppURI.uri(roomUri.getNode(), roomUri.getHost(), nick));
    message.setType(Message.Type.chat);
   
    eventBus.fireEventFromSource(new BeforeMessageSentEvent(message), this);
    session.send(message);
    eventBus.fireEventFromSource(new MessageSentEvent(message), this);
  }
View Full Code Here

TOP

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

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.