Package jnode.event

Examples of jnode.event.SharedModuleEvent


        }
      }
    }
    if (to != null) {

      Notifier.INSTANSE.notify(new SharedModuleEvent(
          "org.jnode.mail.MailModule", "to", to, "subject", subject,
          "text", String.format(MAIL_FORMAT, fmsg.getFromName(), fmsg
              .getFromAddr().toString(), text)));
      timeoutMap.put(fmsg.getFromAddr(), new Date().getTime());
      return true;
View Full Code Here


            this.wait();
          } catch (InterruptedException e) {
          }
        }
      }
      SharedModuleEvent e = queue.removeFirst();
      proccessEvent(e);
    }
  }
View Full Code Here

  }

  @Override
  public void handle(IEvent event) {
    if (event instanceof SharedModuleEvent) {
      SharedModuleEvent e = (SharedModuleEvent) event;
      if (getClass().getCanonicalName().equals(e.to())) {
        synchronized (this) {
          queue.addLast(e);
          this.notify();
        }
      }
View Full Code Here

        + "?key="
        + pr.getId()
        + "  \n"
        + "\n--\n"
        + MainHandler.getVersion();
    Notifier.INSTANSE.notify(new SharedModuleEvent(
        "org.jnode.mail.MailModule", "to", pr.getEmail(), "subject",
        "Point request confirmation", "text", text));

  }
View Full Code Here

        FtnTools.getPrimaryFtnAddress(), MainHandler
            .getCurrentInstance().getInfo().getStationName(),
        MainHandler.getCurrentInstance().getInfo().getSysop(),
        "Point confirmed", text);

    Notifier.INSTANSE.notify(new SharedModuleEvent(
        "org.jnode.mail.MailModule", "to", pr.getEmail(), "subject",
        "Point connection info", "text", text));

  }
View Full Code Here

TOP

Related Classes of jnode.event.SharedModuleEvent

Copyright © 2018 www.massapicom. 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.