Examples of send()


Examples of org.picketlink.identity.federation.web.util.IDPWebRequestUtil.send()

               holder.setSupportSignature(true).setPrivateKey(keyManager.getSigningKey());
            }

            holder.setStrictPostBinding(this.idpConfiguration.isStrictPostBinding());

            webRequestUtil.send(holder);
         }
         catch (GeneralSecurityException e)
         {
            throw new ServletException(e);
         }
View Full Code Here

Examples of org.pircbotx.Channel.send()

        String[] args = event.getMessage().split(" ");
        User sender = event.getUser();
        if (args.length == 3) {
            Channel chan = event.getBot().getUserChannelDao().getChannel(args[1]);
            User target = event.getBot().getUserChannelDao().getUser(args[2]);
            chan.send().kick(target);
            return true;
        }
        if (args.length == 2) {
            Channel chan = event.getChannel();
            User target = event.getBot().getUserChannelDao().getUser(args[1]);
View Full Code Here

Examples of org.port.Port.send()

        break;
      case RELEASE:
        m = (Message) comm_ports[RELEASE].receive();
        int r = (Integer) m.data;
        Port reply = (Port) m.reply_port;
        reply.send(null); // sends a signal to client releasing the
                  // resource
        if (!waiting_setA.isEmpty()) {
          m = waiting_setA.get(0);
          msg.reply_port = null;
          msg.data = (Integer) r;
View Full Code Here

Examples of org.projectforge.mail.SendMail.send()

          continue;
        }
      }
      switch (type) {
        case INVITATION:
          if (sendMail.send(msg, content, event.getAttachments()) == false) {
            failures++;
          }
          break;
        case UPDATE:
        case REJECTION:
View Full Code Here

Examples of org.projectodd.stilts.stomp.client.ClientTransaction.send()

            }
        });
        ClientSubscription subscription = builder.start();

        ClientTransaction tx = client.begin();
        tx.send(StompMessages.createStompMessage(DESTINATION_QUEUE_ONE, "msg1"));
        tx.send(StompMessages.createStompMessage(DESTINATION_QUEUE_ONE, "msg2"));
        tx.commit();

        Assert.assertTrue("No latch timeout", outboundLatch.await(3, TimeUnit.SECONDS));
        Assert.assertTrue("Contains msg1", outbound.contains("msg1"));
View Full Code Here

Examples of org.projectodd.stilts.stomp.client.StompClient.send()

                outboundLatch.countDown();
            }
        });
        ClientSubscription subscription = builder.start();

        client.send(StompMessages.createStompMessage(DESTINATION_QUEUE_ONE, "msg1"));
        client.send(StompMessages.createStompMessage(DESTINATION_QUEUE_ONE, "msg2"));

        Assert.assertTrue("No latch timeout", outboundLatch.await(10, TimeUnit.SECONDS));
        Assert.assertTrue("Contains msg1", outbound.contains("msg1"));
        Assert.assertTrue("Contains msg2", outbound.contains("msg2"));
View Full Code Here

Examples of org.python.pydev.logging.ping.AsyncLogPing.send()

        sentOk = true;
        AsyncLogPing asyncLogPing = new AsyncLogPing(logPing);
        asyncLogPing.addPingOpenEditor();
        asyncLogPing.addPingOpenEditor();
        asyncLogPing.addPingOpenEditor();
        asyncLogPing.send();
        asyncLogPing.addPingOpenEditor();
        asyncLogPing.addPingStartPlugin();
        asyncLogPing.send();

        assertEquals(null, sent);
View Full Code Here

Examples of org.rstudio.core.client.jsonrpc.RpcRequest.send()

     
      if (isDisconnected())
         return rpcRequest;

      // send the request
      rpcRequest.send(new RpcRequestCallback() {
         public void onError(RpcRequest request, RpcError error)
         {
            // ignore errors if we are disconnected
            if (isDisconnected())          
               return;
View Full Code Here

Examples of org.runningman.mailutils.SMTPSender.send()

                sender.setCredentials(credentials);
                MessageData messageData = (MessageData) data.getValue(Keys.MESSAGE_DATA);
                messageData.addFiles(files);
                messageData.setSubject("Sending file.");
                messageData.setContent("");
                sender.send(messageData);
                JOptionPane.showMessageDialog(null, "Отправлено.");
        }

        public void undo() {
        }
View Full Code Here

Examples of org.scribe.model.OAuthRequest.send()

    }

    protected XingUser fetchUser(final Token accessToken) throws Exception {
        final OAuthRequest request = new OAuthRequest(Verb.GET, usersMeUrl);
        oAuthService.signRequest(accessToken, request);
        final Response response = request.send();
        final Gson gson = new GsonBuilder().setFieldNamingPolicy(FieldNamingPolicy.LOWER_CASE_WITH_UNDERSCORES).create();
        final Users users = gson.fromJson(response.getBody(), Users.class);
        return users.getUsers().get(0);
    }
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.