Package net.kano.joustsim.oscar.oscar.service.icbm

Examples of net.kano.joustsim.oscar.oscar.service.icbm.SimpleMessage


                    .getImConversation(new Screenname(to));
            imConversation.open();
            imConversation.addConversationListener(new AimConversationListener());
            if (imConversation.canSendMessage()) {
                messageCount++;
                imConversation.sendMessage(new SimpleMessage(message));
            } else {
                log.error("Cound not send the message to: " + to);
                throw new IMException("Cound not send the message to: " + to);
            }
            imConversation.close();
View Full Code Here


          if (message.length() > 2048) {
            message = message.substring(0, 2048);
          }
          Conversation conv = _conn.getIcbmService().getImConversation(buddyInfo.getScreenname());
          conv.open();
          conv.sendMessage(new SimpleMessage(message));
        }
      }
    }
  }
View Full Code Here

TOP

Related Classes of net.kano.joustsim.oscar.oscar.service.icbm.SimpleMessage

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.