Examples of Event


Examples of rocket.event.client.Event

  /**
   * Dispatches the and fires the appropriate listeners based on the event
   * type
   */
  public void onBrowserEvent(final com.google.gwt.user.client.Event rawEvent) {
    Event event = null;
    try {
      event = Event.getEvent(rawEvent);
      event.setWidget(this);
      this.onBrowserEvent(event);
    } finally {
      Utilities.destroyIfNecessary(event);
    }
  }
View Full Code Here

Examples of rocks.xmpp.extensions.pubsub.model.event.Event

        xmppSession.addMessageListener(new MessageListener() {
            @Override
            public void handle(MessageEvent e) {
                if (e.isIncoming() && isEnabled()) {
                    Message message = e.getMessage();
                    Event event = message.getExtension(Event.class);
                    if (event != null) {
                        for (Item item : event.getItems()) {
                            Object payload = item.getPayload();
                            if (payload instanceof GeoLocation) {
                                // Notify the listeners about the reception.
                                for (GeoLocationListener geoLocationListener : geoLocationListeners) {
                                    try {
View Full Code Here

Examples of simpleserver.config.xml.Event

    if (player.getServer().config.events.contains(args[0])) {
      player.addTMessage(Color.RED, "This event name is already taken!");
      return;
    }

    Event e = new Event(args[0],
                        new Coordinate((int) player.x(), (int) player.y(), (int) player.z(), player.getDimension()));
    player.getServer().config.events.add(e);
    player.getServer().saveConfig();

    player.addTMessage(Color.GRAY, "Event created!");
View Full Code Here

Examples of sk.linhard.openair.eventmodel.Event

          } catch (InterruptedException theException) {
            break;
          }
         
          try {
            Event event = checkForUpdate();
            if (event != null) {
              LOG.info("Event '"+event.getName()+"' got updated.");
              fireEventUpdated(event);
            }
          } catch (ClientException theException) {
            LOG.error("Update failed with following error:", theException);
            fireUpdateFailed(theException);
View Full Code Here

Examples of uk.org.woodcraft.bookings.datamodel.Event

    if (setupComplete != "" )
      throw new SecurityException("Cannot recreate users for an already set up instance");
   
    CoreData.createCoreData();
   
    Event event1 = new Event(TestConstants.EVENT1_NAME, TestConstants.EVENT1_START, TestConstants.EVENT1_END, true, RegisteredPricingStrategy.COCAMP);
    event1.setEarlyBookingDeadline(DateUtils.getDate(2011, 0, 1));
    event1.setBookingDeadline(DateUtils.getDate(2011, 5, 2));
    event1.setBookingSystemLocked(TestConstants.EVENT1_START);
    CannedQueries.save(event1);
   
    AppSetting defaultEventSetting = new AppSetting(AppSetting.DEFAULT_EVENT, event1.getWebKey());
    CannedQueries.save(defaultEventSetting);
   
   
    Organisation orgWcf = new Organisation(TestConstants.ORG1_NAME, true);
    CannedQueries.save(orgWcf);
View Full Code Here

Examples of umontreal.iro.lecuyer.simevents.Event

   public Event getFirstOfClass (String cl) {
      Iterator<Node> itr = tree.values().iterator();
      while (itr.hasNext()) {
         Node node = itr.next();
         Event ev = node.getFirstOfClass (cl);
         if (ev != null)
            return ev;
      }
      return null;
   }
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.