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 buildcraft.core.network.PacketGuiReturn.sendPacket()

      @Override
      public void onGuiClosed() {
        if (pipe.getWorld().isRemote) {
          PacketGuiReturn pkt = new PacketGuiReturn(pipe.getContainer());
          pkt.sendPacket();
        }

        super.onGuiClosed();
      }
    View Full Code Here

    Examples of com.golden.gamedev.engine.BaseClient.sendPacket()

            bsClient.update(100); // the main work
           
            // send packet to server
            // every 50 tick
            if (++sendCounter % 50 == 0) {
              bsClient.sendPacket(new AllFieldTypePacket());
            }
           
            // disconnect from server
            // after 200 tick
            if (sendCounter > 200) {
    View Full Code Here

    Examples of com.golden.gamedev.engine.network.tcp.TCPClient.sendPacket()

          // send message
          // every 20 tick
          if (i++ % 20 == 0 && i < 100) {
            try {
              System.out.println("sending packet to server");
              client.sendPacket(new NetworkMessage(
                      "Client said Yes or No"));
             
            }
            catch (IOException ex) {
              ex.printStackTrace();
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.L2Character.sendPacket()

        for(int id : CursedWeaponsManager.getInstance().getCursedWeaponsIds())
        {
          list.add(id);
        }

        activeChar.sendPacket(new ExCursedWeaponList(list));
      }

      @Override
      public String getType()
      {
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.sendPacket()

        if((activeChar.getClanPrivileges() & L2Clan.CP_CL_REGISTER_CREST) == L2Clan.CP_CL_REGISTER_CREST)
        {
          if(clan.getLevel() < 3)
          {
            activeChar.sendPacket(new SystemMessage(SystemMessageId.CLAN_LVL_3_NEEDED_TO_SET_CREST));
            return;
          }

          CrestCache crestCache = CrestCache.getInstance();
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PetInstance.sendPacket()

            {
              if (!(skill.getId() == 2166))
              {
                SystemMessage sm = new SystemMessage(SystemMessageId.S1_PREPARED_FOR_REUSE);
                sm.addSkillName(skill.getId(), skill.getLevel());
                activeChar.sendPacket(sm);
              }
              return false;
            }
           
            activeChar.doCast(skill);
    View Full Code Here

    Examples of com.l2jfrozen.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 it.hakvoort.neuroclient.agent.EEGAgent.sendPacket()

       
        // set the agent's header
        agent.setHeader(header);
       
        // send a EEG Data Packet to NeuroServer
        agent.sendPacket(new NeuroServerPacket(1, 3, new int[]{125, 129, 111}));
           
        // close the agent and disconnect from NeuroServer.
        agent.close()
      }
    }
    View Full Code Here

    Examples of jpcap.JpcapSender.sendPacket()

        icmp.datalink=ether;
       
        captor.setFilter("icmp and dst host "+thisIP.getHostAddress(),true);
        JpcapSender sender=captor.getJpcapSenderInstance();
        //JpcapSender sender=JpcapSender.openDevice(device);
        sender.sendPacket(icmp);
        while(true){
          ICMPPacket p=(ICMPPacket) captor.getPacket();
          //System.out.println("received "+p);
          if(p==null){
            System.out.println("Timeout");
    View Full Code Here

    Examples of jpcap.JpcapSender.sendPacket()

          }else if(p.type==ICMPPacket.ICMP_ECHOREPLY){
            p.src_ip.getHostName();
            System.out.println(icmp.hop_limit+": "+p.src_ip);
            System.exit(0);
          }else continue;
          sender.sendPacket(icmp);
        }
      }
    }
    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.