Package org.zeroexchange.model.message

Examples of org.zeroexchange.model.message.SystemMessage


    protected void sendPrivateMassage(Collection<User> recipients,
            User sender, String subject, String body) {
        for(User recipient: recipients) {
          Message message = null;
          if(sender == null) {
                message = new SystemMessage();
          } else {
            message = new UserMessage();           
                ((UserMessage)message).setSender(sender);
          }
            message.setMessage(body);
View Full Code Here

TOP

Related Classes of org.zeroexchange.model.message.SystemMessage

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.