Ejemplo n.º 1
0
Archivo: Bot.java Proyecto: 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);
  }
Ejemplo n.º 2
0
Archivo: Bot.java Proyecto: 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);
  }
Ejemplo n.º 3
0
Archivo: Bot.java Proyecto: cmsd2/elsie
  public void sendIRCEvent(IIrcMessage msg) {
    IIrcEvent event = new IrcEvent(this, msg);

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

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