Go to the documentation of this file.00001 package com.rosalfred.core.ia.rivescript.lang.java;
00002
00003 import com.rosalfred.core.ia.rivescript.BotReply;
00004 import com.rosalfred.core.ia.rivescript.RiveScript;
00005
00006 public interface RunRiver {
00007 public BotReply invoke(RiveScript rs, String user, String[] args);
00008
00009 public class TestEcho implements RunRiver {
00010 @Override
00011 public BotReply invoke(RiveScript rs, String user, String[] args) {
00012 return new BotReply("echo > TestEcho from " + user);
00013 }
00014 }
00015 }