Package org.eclipse.ecf.provider.irc.internal.bot

Examples of org.eclipse.ecf.provider.irc.internal.bot.ICommandEntry


    if (event instanceof IChatRoomMessageEvent) {
      IChatRoomMessageEvent roomEvent = (IChatRoomMessageEvent) event;
      IChatRoomMessage message = roomEvent.getChatRoomMessage();
      List commands = bot.getCommands();
      for(int i = 0; i < commands.size(); i++) {
        ICommandEntry entry = (ICommandEntry) commands.get(i);
        entry.execute(message.getMessage(), sender);
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.provider.irc.internal.bot.ICommandEntry

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.