net.sf.jqql.robot
Class DummyRobot
java.lang.Object
net.sf.jqql.robot.DummyRobot
- All Implemented Interfaces:
- IRobot
public class DummyRobot
- extends Object
- implements IRobot
automaton to do nothing and only return a info. toward Auto responde, no respond
什么也不干,只返回一条信息的机器人。对于自动回复,不回复
- Author:
- luma
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyRobot
public DummyRobot()
getReply
public String getReply(ReceiveIMPacket packet)
- Description copied from interface:
IRobot
- get a reply based on message
根据message得到一条回复消息
- Specified by:
getReply
in interface IRobot
- Parameters:
packet
- receive message packet
接受消息包
- Returns:
- reply message, return null means it doestn't answer this message
回复的消息,返回null表示不响应这条消息