Examples of sendPacket()

  • com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.sendPacket()
    Send a Server->Client packet StatusUpdate to the L2PcInstance.

  • com.l2jfrozen.gameserver.model.actor.instance.L2PetInstance.sendPacket()
  • com.l2jfrozen.loginserver.L2LoginClient.sendPacket()
  • it.hakvoort.neuroclient.agent.EEGAgent.sendPacket()
  • jpcap.JpcapSender.sendPacket()
    Sends a packet.

    If this JpcapSender instance was created by openDevice(), you need to set the Datalink layer's header (e.g., Ethernet header) of the packet.

    If this JpcapSender instance was created by openRawSocket(), you can only send IP packets, but you may not need to set the Datalink layer's header of the IP packets you want to send.
    Note: the implementation and behavior of a raw socket may vary in different OS. For example, in Windows 2000/XP, you need to manually set the datalink/IP headers of a packet. @param packet Packet to be sent

  • l2p.gameserver.model.L2Character.sendPacket()
  • l2p.gameserver.model.L2Playable.sendPacket()
  • l2p.gameserver.model.L2Player.sendPacket()
    Send a Server->Client packet StatusUpdate to the L2Player.

  • l2p.gameserver.network.L2GameClient.sendPacket()
  • lineage2.gameserver.model.Creature.sendPacket()
    Method sendPacket. @param mov IStaticPacket
  • lineage2.gameserver.model.GameObject.sendPacket()
    Method sendPacket. @param lsp L2LoginServerPacket
  • lineage2.gameserver.model.Playable.sendPacket()
    Method sendPacket. @param lsp L2LoginServerPacket
  • lineage2.gameserver.model.Player.sendPacket()
    Method sendPacket. @param p IStaticPacket
  • lineage2.loginserver.L2LoginClient.sendPacket()
    Method sendPacket. @param lsp L2LoginServerPacket
  • mods.railcraft.common.util.network.PacketEffect.sendPacket()
  • mods.railcraft.common.util.network.PacketGuiReturn.sendPacket()
  • net.sf.l2j.gameserver.model.L2Character.sendPacket()
    Not Implemented.

    Overriden in :

  • L2PcInstance


  • @param mov the mov
  • net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.sendPacket()
    Send a Server->Client packet StatusUpdate to the L2PcInstance. @param packet the packet
  • net.sf.l2j.loginserver.L2LoginClient.sendPacket()
  • org.getspout.spout.player.SpoutCraftPlayer.sendPacket()
  • org.getspout.spoutapi.player.SpoutPlayer.sendPacket()
    Sends a MCPacket to the client @param packet to send
  • org.jivesoftware.smack.Connection.sendPacket()
    Sends the specified packet to the server. @param packet the packet to send.
  • org.jivesoftware.smack.XMPPConnection.sendPacket()
  • org.pcap4j.core.PcapHandle.sendPacket()
    @param packet @throws PcapNativeException @throws NotOpenException @throws NullPointerException
  • org.thingml.bglib.BGAPITransport.sendPacket()

  • Examples of net.sf.l2j.loginserver.L2LoginClient.sendPacket()

            client.setAccount(_user);
            client.setState(LoginClientState.AUTHED_LOGIN);
            client.setSessionKey(lc.assignSessionKeyToClient(_user, client));
            if (Config.SHOW_LICENCE)
            {
              client.sendPacket(new LoginOk(getClient().getSessionKey()));
            }
            else
            {
              getClient().sendPacket(new ServerList(getClient()));
            }
    View Full Code Here

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

        }
        if (update != null) {
          Bukkit.getServer().getScheduler().scheduleSyncDelayedTask(Spout.getInstance(), update, 2);
        }
        if (event.getPlayer() instanceof SpoutPlayer) {
          scp.sendPacket(new PacketAllowVisualCheats(PermHandler.allowSkyCheat(scp),PermHandler.forceSkyCheat(scp),PermHandler.showSkyCheat(scp),PermHandler.allowClearWaterCheat(scp),PermHandler.forceClearWaterCheat(scp),PermHandler.showClearWaterCheat(scp),PermHandler.allowStarsCheat(scp),PermHandler.forceStarsCheat(scp),PermHandler.showStarsCheat(scp),PermHandler.allowWeatherCheat(scp),PermHandler.forceWeatherCheat(scp),PermHandler.showWeatherCheat(scp),PermHandler.allowTimeCheat(scp),PermHandler.allowCoordsCheat(scp),PermHandler.allowEntityLabelCheat(scp),PermHandler.allowVoidFogCheat(scp),PermHandler.forceVoidFogCheat(scp),PermHandler.showVoidFogCheat(scp),PermHandler.allowFlightSpeedCheat(scp)));
        }
      }

      @EventHandler(priority = EventPriority.MONITOR)
      public void onPlayerInteract(PlayerInteractEvent event) {
    View Full Code Here

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

        if (!cached) {
          SpoutPlayer player = SpoutManager.getPlayerFromId(playerId);
          if (player != null) {
            File file = new File(this.file);
            if (file.exists()) {
              player.sendPacket(new PacketCacheFile(plugin, file));
            }
          }
        }
      }
    View Full Code Here

    Examples of org.jivesoftware.smack.Connection.sendPacket()

            open.setFrom(initiatorConnection.getUser());
            open.setTo(targetConnection.getUser());

            PacketCollector collector = initiatorConnection.createPacketCollector(new PacketIDFilter(
                            open.getPacketID()));
            initiatorConnection.sendPacket(open);
            Packet result = collector.nextResult();

            assertNotNull(result.getError());
            assertEquals(XMPPError.Condition.no_acceptable.toString(), result.getError().getCondition());
    View Full Code Here

    Examples of org.jivesoftware.smack.XMPPConnection.sendPacket()

            try{
                connection.login(user, password);
                System.out.println("Logged in as " + connection.getUser());
                Presence presence = new Presence(Presence.Type.available);
                connection.sendPacket(presence);

            } catch (XMPPException ex){
                Logger.getLogger(JabberWorkItemHandler.class.getName()).log(Level.SEVERE, null, ex);
                System.out.println("Failed to log in as " + connection.getUser());
                System.exit(1);
    View Full Code Here

    Examples of org.jivesoftware.smack.XMPPConnection.sendPacket()

            // Create a packet collector to listen for a response.
            PacketCollector collector = con
                    .createPacketCollector(new PacketIDFilter(request.getPacketID()));

            con.sendPacket(request);

            // Wait up to 5 seconds for a result.
            IQ result = (IQ) collector.nextResult(SmackConfiguration
                    .getPacketReplyTimeout());
            if( dialog.cancelled ) return;
    View Full Code Here

    Examples of org.jivesoftware.smack.XMPPConnection.sendPacket()

            // Create a packet collector to listen for a response.
            PacketCollector collector = con
                    .createPacketCollector(new PacketIDFilter(request.getPacketID()));

            con.sendPacket(request);


            // Wait up to 5 seconds for a result.
            IQ result = (IQ) collector.nextResult(SmackConfiguration
                    .getPacketReplyTimeout());
    View Full Code Here

    Examples of org.jivesoftware.smack.XMPPConnection.sendPacket()

            // Create a packet collector to listen for a response.
            PacketCollector collector = con
                    .createPacketCollector(new PacketIDFilter(request.getPacketID()));

            con.sendPacket(request);

            // Wait up to 5 seconds for a result.
            IQ result = (IQ) collector.nextResult(SmackConfiguration
                    .getPacketReplyTimeout());
            if( dialog.cancelled ) return;
    View Full Code Here

    Examples of org.jivesoftware.smack.XMPPConnection.sendPacket()

          long start = System.currentTimeMillis();
          for (Iterator iterator = packets.iterator(); iterator.hasNext();) {
            IQ iqPacket = (IQ) iterator.next();
            iqPacket.setFrom(connection.getUser());
            PacketCollector collector = connection.createPacketCollector(new PacketIDFilter(iqPacket.getPacketID()));
            connection.sendPacket(iqPacket);
            IQ response = (IQ) collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
            collector.cancel();
           
            if (response == null) {
              throw new XMPPException("No response from server on status set.");
    View Full Code Here

    Examples of org.jivesoftware.smack.XMPPConnection.sendPacket()

      private boolean sendPacket(IQ packet) {
        XMPPConnection con = adminUser.getConnection();
        try {
          packet.setFrom(con.getUser());
          PacketCollector collector = con.createPacketCollector(new PacketIDFilter(packet.getPacketID()));
          con.sendPacket(packet);
          IQ response = (IQ) collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
          collector.cancel();
         
          if (response == null) {
            // OLAT-5383: error happens frequently, lowering to WARN
    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.