Examples of sendMessage()


Examples of org.eclipse.ecf.presence.chatroom.IChatRoomMessageSender.sendMessage()

        IChatRoomMessageSender sender = (IChatRoomMessageSender) messageSenders
            .get(id);
        if (sender == null) {
          chatMessageSender.sendChatMessage(id, message);
        } else {
          sender.sendMessage(message);
        }
      }
    } catch (ECFException e) {
      e.printStackTrace();
      container.disconnect();
View Full Code Here

Examples of org.eclipse.ecf.protocol.msn.ChatSession.sendMessage()

      if (cs == null) {
        cs = client.createChatSession(toID.getName());
        cs.addChatSessionListener(new ChatSessionListener(toID));
        chatSessions.put(toID, cs);
      }
      cs.sendMessage(body);
    } catch (IOException e) {
      throw new ECFException(e);
    }
  }
View Full Code Here

Examples of org.eclipse.jdt.debug.core.IJavaClassType.sendMessage()

                EvaluationMessages.LocalEvaluationEngine_Evaluation_failed___unable_to_instantiate_code_snippet_class__11,
                null));
      }
      IJavaValue[] args = new IJavaValue[] { getDebugTarget().newValue(
          className) };
      IJavaObject classObject = (IJavaObject) classClass
          .sendMessage(
              "forName", "(Ljava/lang/String;)Ljava/lang/Class;", args, getThread()); //$NON-NLS-2$ //$NON-NLS-1$
      object = (IJavaObject) classObject
          .sendMessage(
              "newInstance", "()Ljava/lang/Object;", null, getThread(), false); //$NON-NLS-2$ //$NON-NLS-1$
View Full Code Here

Examples of org.eclipse.jdt.debug.core.IJavaObject.sendMessage()

                IStatus.OK,
                NLS.bind(InstructionsEvaluationMessages.Cast_No_class_object,
                        new String[] { typeName() }),
                null));
      }
      IJavaPrimitiveValue resultValue = (IJavaPrimitiveValue) classObject
          .sendMessage(IS_INSTANCE, IS_INSTANCE_SIGNATURE,
              new IJavaValue[] { value }, getContext()
                  .getThread(), false);
      if (!resultValue.getBooleanValue()) {
        throw new CoreException(
View Full Code Here

Examples of org.exoplatform.services.mail.MailService.sendMessage()

            String activeLink = host + requestContext.getRequestContextPath() + "/public/" + portalName + "?"
                    + ComponentURL.PORTAL_COMPONENT_ID + "=UIPortal&portal:action=RecoveryPasswordAndUsername&tokenId="
                    + tokenId;
            String mailText = headerMail + "\n" + activeLink + footerMail;
            try {
                mailSrc.sendMessage(res.getString("UIForgetPassword.mail.from"), email,
                        res.getString("UIForgetPassword.mail.subject"), mailText);
            } catch (Exception e) {
                requestContext.getUIApplication().addMessage(
                        new ApplicationMessage("UIForgetPassword.msg.send-mail-fail", null));
                requestContext.addUIComponentToUpdateByAjax(uilogin);
View Full Code Here

Examples of org.getspout.spout.player.SpoutCraftPlayer.sendMessage()

    }
    if (!allowReload && chat.equalsIgnoreCase("/reload")) {
      allowReload = true;
      SpoutCraftPlayer player = (SpoutCraftPlayer) SpoutCraftPlayer.getPlayer(getPlayer());
      if (!player.isSpoutCraftEnabled()) {
        player.sendMessage(ChatColor.RED + "Spout does not support the /reload command.");
        player.sendMessage(ChatColor.RED + "Unexpected behavior may occur.");
        player.sendMessage(ChatColor.RED + "We recommend using /stop and restarting.");
        player.sendMessage(ChatColor.RED + "Or you can use /spout reload to reload the config.");
        player.sendMessage(ChatColor.RED + "If you want to use /reload anyway, use the command again.");
      } else {
View Full Code Here

Examples of org.getspout.spoutapi.player.SpoutPlayer.sendMessage()

     
    }
   
    //sp.setBedSpawnLocation(new Location(Bukkit.getWorlds().get(0), ConflictPlugin.spawnX, ConflictPlugin.spawnY, ConflictPlugin.spawnZ));
   
    sp.sendMessage("Herzlich willkommen auf unserem Conflict-MC-Mod-Server!");
    sp.sendMessage("Infos zum Spiel gibt es unter &ctossat.de/mcwiki! &fGib");
    sp.sendMessage("&c/help &fein f�r eine Liste verf�gbarer Befehle. Viel Spass!");
   
    createOverlay(sp);
   
View Full Code Here

Examples of org.jboss.demo.cluster.slsb.StatelessSession.sendMessage()

    System.out.print( "Number of messages: " );
    Integer messageCount = Integer.valueOf( System.console().readLine() );
    System.out.print( "Delay in Milliseconds: " );
    Long processingDelay = Long.valueOf( System.console().readLine() );
    StatelessSession slsb = getStatelessSessionBean();
    slsb.sendMessage( message, messageCount, processingDelay );
  }
 
  private StatelessSession getStatelessSessionBean() throws NamingException {
    return (StatelessSession)context.lookup(SLSB_JNDI);
  }
View Full Code Here

Examples of org.jboss.example.jms.webservices.endpoint.JMSSample.sendMessage()

      ServiceImpl service = (ServiceImpl)factory.createService(wsdlLocation, serviceName, fileMapping.toURL());

      JMSSample proxy = (JMSSample)service.getPort(JMSSample.class);

      proxy.sendMessage(getDestinationJNDIName(), MESSAGE_TEXT);
   }

   private void receiveMessage()
      throws NamingException, JMSException
   {
View Full Code Here

Examples of org.jboss.fresh.shell.Executable.sendMessage()

        if (p.isFinished()) {
          sshell.endProcess(p.getID());
        } else {
          Executable e = p.getExecutable();
          if (e != null) {
            e.sendMessage("KILL");
          }
        }
        procmap.remove(p.getID());
        //log.debug("***\n***[doGC] Process timed out. (" + proc_tout + ")  Removed process " + p.getID() + "\n***");
        log.debug("Process timed out. (" + proc_tout + ")  Removed process " + p.getID());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.