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

Examples of org.eclipse.ecf.provider.irc.internal.bot.ICommandEntry.execute()


      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
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.