JML

net.sf.jqql.robot
Class DummyRobot

java.lang.Object
  extended by 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

Constructor Summary
DummyRobot()
           
 
Method Summary
 String getReply(ReceiveIMPacket packet)
          get a reply based on message 根据message得到一条回复消息
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyRobot

public DummyRobot()
Method Detail

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表示不响应这条消息

JML