Examples of send()


Examples of me.taylorkelly.bigbrother.datablock.PickupItem.send()

        final Player player = event.getPlayer();
        BBPlayerInfo pi = BBUsersTable.getInstance().getUserByName(player.getName());
        plugin.closeChestIfOpen(pi);
        if (BBSettings.pickupItem && pi.getWatched()) {
            PickupItem dataBlock = new PickupItem(player.getName(), event.getItem(), event.getItem().getWorld().getName());
            dataBlock.send();
        }
    }
   
    @Override
    public void onPlayerDropItem(PlayerDropItemEvent event) {
View Full Code Here

Examples of me.taylorkelly.bigbrother.datablock.PlacedBlock.send()

            Block block = event.getBlockPlaced();
            if (block.getType() == Material.LAVA || block.getType() == Material.STATIONARY_LAVA) {
                LavaFlowLogger.log(block, player.getName());
            }
            PlacedBlock dataBlock = new PlacedBlock(player.getName(), block, block.getWorld().getName());
            dataBlock.send();
        }
    }

    /*
    @Override
View Full Code Here

Examples of me.taylorkelly.bigbrother.datablock.SignDestroyed.send()

                    oldText = true;
                }
            }
            if (oldText) {
                SignDestroyed dataBlock = new SignDestroyed(event.getPlayer().getName(), event.getBlock().getTypeId(), event.getBlock().getData(),(Sign) event.getBlock().getState(), event.getBlock().getWorld().getName());
                dataBlock.send();
            }
        }
        if (!event.isCancelled() && BBSettings.blockPlace) {
            CreateSignText dataBlock = new CreateSignText(event.getPlayer().getName(), event.getLines(), event.getBlock());
            dataBlock.send();
View Full Code Here

Examples of me.taylorkelly.bigbrother.datablock.Teleport.send()

        final Player player = event.getPlayer();
        BBPlayerInfo pi = BBUsersTable.getInstance().getUserByName(player.getName());
        plugin.closeChestIfOpen(pi);
        if (BBSettings.teleport && pi.getWatched() && distance(from, to) > 5 && !event.isCancelled()) {
            Teleport dataBlock = new Teleport(player.getName(), event.getTo());
            dataBlock.send();
        }
    }
   
    @Override
    public void onPlayerChat(PlayerChatEvent event) {
View Full Code Here

Examples of me.taylorkelly.bigbrother.rollback.RollbackInterpreter.send()

            if (split.length > 1) {
                RollbackInterpreter interpreter = new RollbackInterpreter((Player) player, split, plugin.getServer(), plugin.worldManager, plugin);
                Boolean passed = interpreter.interpret();
                if (passed != null) {
                    if (passed) {
                        interpreter.send();
                    } else {
                        player.sendMessage(BigBrother.premessage + ChatColor.RED + "Warning: " + ChatColor.WHITE + "You are rolling back without a time or radius argument.");
                        player.sendMessage("Use " + ChatColor.RED + "/bb confirm" + ChatColor.WHITE + " to confirm the rollback.");
                        player.sendMessage("Use " + ChatColor.RED + "/bb delete" + ChatColor.WHITE + " to delete it.");
                        RollbackConfirmation.setRI((Player) player, interpreter);
View Full Code Here

Examples of megamek.common.net.IConnection.send()

        if (connections == null) {
            return;
        }
        for (Enumeration<IConnection> connEnum = connections.elements();connEnum.hasMoreElements();) {
            IConnection conn = connEnum.nextElement();
            conn.send(packet);
        }
    }

    private void sendReport() {
        sendReport(false);
View Full Code Here

Examples of mireka.transmission.immediate.ImmediateSender.send()

        ImmediateSender sender = immediateSenderFactory.create();
        try {
            logger.debug("Sending mail " + mail + "...");
            summary.mailTransactions.incrementAndGet();

            sender.send(mail);

            logger.debug("Sent successfully");
            summary.successfulMailTransactions.incrementAndGet();
        } catch (SendException e) {
            handleSendException(e);
View Full Code Here

Examples of models.mailing.Mailing.send()

        index();
    }
   
    public static void send(long mailingId) {
        Mailing mailing = Mailing.findById(mailingId);
        mailing.send();
        flash.success("La demande d'envoi du mailing \"%s\" a bien été enregistré. Il partira dans la nuit à un premier lot de destinataires.", mailing);
        index();
    }
   
    public static void delete(long mailingId) {
View Full Code Here

Examples of net.jxta.pipe.OutputPipe.send()

   
    public void sendOverPropagatedPipe(Message theMsg) {
        OutputPipe outputPipe = getPropagatedSingletonOutputPipe();
        if(outputPipe != null) {
            try {
                outputPipe.send(theMsg);
            } catch (IOException ex) {
                // FIXME evaluate log level
                if(_pipelogger.isLoggable(Level.INFO)) {
                    _pipelogger.log(Level.INFO, "Exception occurred sending message over propagated pipe" , ex);
                }        
View Full Code Here

Examples of net.rim.blackberry.api.mail.Transport.send()

        Session session = Session.getDefaultInstance();
        Transport trans = session.getTransport();
        //add recipients to the message and send
        boolean sent = false;
        try {
             trans.send(message);
             sent = true;
        } catch (Exception e) {
             Dialog.inform("Error while sending: " + e.toString());
        }
   
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.