Examples of broadcast()


Examples of javax.faces.component.behavior.Behavior.broadcast()

        }
       
        if (event instanceof BehaviorEvent && event.getComponent() == this)
        {
            Behavior behavior = ((BehaviorEvent) event).getBehavior();
            behavior.broadcast((BehaviorEvent) event);
        }

        if (_facesListeners == null)
        {
            return;
View Full Code Here

Examples of lineage2.gameserver.model.CommandChannel.broadCast()

      CommandChannel channel = player.getParty().getCommandChannel();
      Functions.addItem(player, RING, 1);
      SystemMessage smsg = new SystemMessage(SystemMessage.S1_HAS_OBTAINED_S2);
      smsg.addString(player.getName());
      smsg.addItemName(RING);
      channel.broadCast(smsg);
      BelethManager.setRingAvailable(false);
      deleteMe();
    }
    else
    {
View Full Code Here

Examples of lineage2.gameserver.model.Party.broadCast()

          channel.disbandChannel();
          return true;
        }
        Party party = activeChar.getParty();
        channel.removeParty(party);
        party.broadCast(Msg.YOU_HAVE_QUIT_THE_COMMAND_CHANNEL);
        channel.broadCast(new SystemMessage(SystemMessage.S1_PARTY_HAS_LEFT_THE_COMMAND_CHANNEL).addString(activeChar.getName()));
        break;
      case 97:
        if (!activeChar.isInParty() || !activeChar.getParty().isInCommandChannel())
        {
View Full Code Here

Examples of lineage2.gameserver.model.matching.MatchingRoom.broadCast()

      room.setMinLevel(_minLevel);
      room.setMaxLevel(_maxLevel);
      room.setMaxMemberSize(_maxMembers);
      room.setTopic(_roomTitle);
      room.setLootType(_lootDist);
      room.broadCast(room.infoRoomPacket());
    }
  }
}
View Full Code Here

Examples of no.uib.cipr.matrix.distributed.Communicator.broadcast()

        for (int i = 0; i < t.length; ++i) {
            final int rank = i;
            t[i] = new Thread(new Runnable() {
                public void run() {
                    Communicator comm = coll.createCommunicator(rank);
                    comm.broadcast(recv[rank], 0);
                }
            });

            t[i].start();
        }
View Full Code Here

Examples of org.apache.wicket.protocol.ws.api.WebSocketPushBroadcaster.broadcast()

  public void broadcast(Application application, String sessionId, IKey key, IWebSocketPushMessage message)
  {
    IWebSocketSettings webSocketSettings = IWebSocketSettings.Holder.get(application);
    WebSocketPushBroadcaster broadcaster = new WebSocketPushBroadcaster(webSocketSettings.getConnectionRegistry());
    ConnectedMessage wsMessage = new ConnectedMessage(application, sessionId, key);
    broadcaster.broadcast(wsMessage, message);
  }

  /**
   * Broadcasts/pushes a message to all active web socket connections
   *
 
View Full Code Here

Examples of org.apache.wicket.protocol.ws.api.WebSocketPushBroadcaster.broadcast()

  public void broadcast(Application application, String sessionId, IKey key, IWebSocketPushMessage message)
  {
    WebSocketSettings webSocketSettings = WebSocketSettings.Holder.get(application);
    WebSocketPushBroadcaster broadcaster = new WebSocketPushBroadcaster(webSocketSettings.getConnectionRegistry());
    ConnectedMessage wsMessage = new ConnectedMessage(application, sessionId, key);
    broadcaster.broadcast(wsMessage, message);
  }

  /**
   * Broadcasts/pushes a message to all active web socket connections
   *
 
View Full Code Here

Examples of org.atmosphere.cpr.Broadcaster.broadcast()

                Broadcaster bc = event.getBroadcaster();

                String response = game.getJSON();

                // broadcast the updated game state
                bc.broadcast(response);

                writer.flush();

                if (game.win() != -1) {
                    game = new TTTGame();
View Full Code Here

Examples of org.atmosphere.cpr.Broadcaster.broadcast()

            servletLatch.await();

            Broadcaster b = BroadcasterFactory.getDefault().lookup(DefaultBroadcaster.class, "/*");
            assertNotNull(b);
            b.broadcast("resume").get();

            try {
                latch.await();
            } catch (InterruptedException e) {
                fail(e.getMessage());
View Full Code Here

Examples of org.atmosphere.cpr.Broadcaster.broadcast()

            String id = broadcasterId.get();

            b = BroadcasterFactory.getDefault().lookup(DefaultBroadcaster.class, id);
            assertNotNull(b);
            b.broadcast("resume").get();

            try {
                latch.await();
            } catch (InterruptedException e) {
                fail(e.getMessage());
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.