Package xnap.plugin.nap.net.msg.client

Examples of xnap.plugin.nap.net.msg.client.PublicMessage


    public void sendMessage(String message) throws IOException
    {
  // split message if it's too large
  for (int i = 0; i < message.length(); i += 174) {
      int end = Math.min(i + 174, message.length());
      PublicMessage m = new PublicMessage(name,
            message.substring(i, end));
      m.setExceptionListener(this);
      MessageHandler.send(server, m);
  }
 
    }
View Full Code Here

TOP

Related Classes of xnap.plugin.nap.net.msg.client.PublicMessage

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.