Examples of send()


Examples of eu.planets_project.ifr.core.common.mail.PlanetsMailMessage.send()

    // Send them a message.
    PlanetsMailMessage mailer = new PlanetsMailMessage();
    mailer.setSubject(subject);
    mailer.setBody(body);
    mailer.addRecipient(user.getEmail());
    mailer.send();
  }

  /**
   * {@inheritDoc}
   * @see eu.planets_project.ifr.core.security.api.services.UserManager#assignRoleToUser(eu.planets_project.ifr.core.security.api.model.User, java.lang.String)
View Full Code Here

Examples of example.proto.Mail.send()

        Message message = new Message();
        message.setTo(new Utf8(args[0]));
        message.setFrom(new Utf8(args[1]));
        message.setBody(new Utf8(args[2]));
        System.out.println("Calling proxy.send with message:  " + message.toString());
        System.out.println("Result: " + proxy.send(message));

        // cleanup
        client.close();
        server.close();
    }
View Full Code Here

Examples of fi.luomus.commons.kirjekyyhky.KirjekyyhkyAPIClient.send()

      api = new KirjekyyhkyAPIClientImple("http://kirjekyyhky.uri.tähän.fi", "username", "password", "mySystemId");

      api.getCount();
      api.getForms();
      api.receive("1231");
      api.send(new File("new prefilled <form-data> .xml"), new File("optinally a prefilled PDF file"));

      FormData formData = api.get("2525");
      for (LogEntry e : formData.getLogEntries()) {
        // jotain
      }
View Full Code Here

Examples of freenet.clients.fcp.FCPMessage.send()

      try{
        sfs.putSingle("Name", "AddRef");
        sfs.putSingle("ExpectedVersion", "2.0");
        fcpm = FCPMessage.create("ClientHello", sfs);
        fcpm.send(os);
        os.flush();

        String messageName = lis.readLine(128, 128, true);
        sfs = getMessage(lis);
        fcpm = FCPMessage.create(messageName, sfs);
View Full Code Here

Examples of freenet.io.xfer.BulkTransmitter.send()

    final Runnable r = new Runnable() {

      @Override
      public void run() {
        try {
          if(!bt.send())
            Logger.error(this, "Failed to send "+name+" jar blob to " + source.userToString() + " : " + bt.getCancelReason());
          else
            Logger.normal(this, "Sent "+name+" jar blob to " + source.userToString());
          raf.close();
        } catch (DisconnectedException e) {
View Full Code Here

Examples of freenet.node.SendableRequestSender.send()

  public boolean send(NodeClientCore core, RequestScheduler sched) {
    ClientContext context = sched.getContext();
    SendableRequestSender sender = getSender(context);
    sendIsBlocking = sender.sendIsBlocking();
    return sender.send(core, sched, context, this);
  }
 
  public abstract SendableRequestSender getSender(ClientContext context);
 
  public void onDumped() {
View Full Code Here

Examples of freenet.pluginmanager.PluginTalker.send()

      pt = new PluginTalker(node, handler, pluginname, identifier, handler.hasFullAccess());
    } catch (PluginNotFoundException e) {
      throw new MessageInvalidException(ProtocolErrorMessage.NO_SUCH_PLUGIN, pluginname + " not found or is not a FCPPlugin", identifier, false);
    }
   
    pt.send(plugparams, data2);

  }

}
View Full Code Here

Examples of groovyx.gpars.actor.Actor.send()

public class StatefulActorTest {
    @Test
    public void testStatefulActor() throws Exception {
        final Actor actor = new MyActor();
        actor.start();
        actor.send("Hello");
        actor.send("Hello again");
        actor.send(10);

        actor.send("Bye");
        actor.send("Bye again");
View Full Code Here

Examples of hermes.Hermes.send()

         Hermes hermes = HermesFactory.createHermes("../cfg/web-hermes-config.xml", "ActiveMQ");
        
         Destination queue = hermes.getDestination("Q1", Domain.QUEUE) ;
         Message message = createMessage(hermes) ;
        
         hermes.send(queue, message) ;
        
         if (hermes.getTransacted())
         {
            hermes.commit() ;
         }
View Full Code Here

Examples of io.socket.SocketIO.send()

        System.out.println("Server triggered event '" + event + "'");
      }
    });
   
    // This line is cached until the connection is establisched.
    socket.send("Hello Server!");
  }
}
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.