Esempio n. 1
0
File: Bot.java Progetto: cmsd2/elsie
  public void sendBotEvent(String source, String[] botCommand, boolean isPrivate) {
    IBotEvent event = new BotEvent(this, source, botCommand, isPrivate);

    log.info("Sending Bot event " + event);

    botEventSource.sendEvent("Bot.sendBotEvent", event);
  }
Esempio n. 2
0
File: Bot.java Progetto: cmsd2/elsie
  public void sendErrorEvent(String module, String type, String message) {
    ErrorEvent event = new ErrorEvent(this, module, type, message);

    log.info("Sending Error event " + event);

    errorEventSource.sendEvent(module, event);
  }
Esempio n. 3
0
File: Bot.java Progetto: cmsd2/elsie
  public void sendIRCEvent(IIrcMessage msg) {
    IIrcEvent event = new IrcEvent(this, msg);

    log.info("Sending IRC event " + event);

    ircEventSource.sendEvent("Bot.sendIrcEvent", event);
  }