The code seems correct, maybe you should add log for debug and confirm that the configuration files are correct
On 24 mar, 05:28, hetal brahmbhatt <[email protected]> wrote: > I am now trying to make a simple google wave robot saying hi to new > participant in wave and saying goodbye to the participant when he > leaves the wave. > But somehow this code is not working. > I am confused about th reason of its non working condition. > Can you help me to figure out the problem as while deploying ,it was > not showing any error still doesn't work. > here is the main file. > please reply me. > > FirstRobot.java > import com.google.wave.api.AbstractRobot; > import com.google.wave.api.event.WaveletParticipantsChangedEvent; > import com.google.wave.api.event.WaveletSelfAddedEvent; > > public class FirstRobot extends AbstractRobot { > > private static final long serialVersionUID = 1L; > > @Override > protected String getRobotName() { > return "My first robot"; > } > > @Override > public void onWaveletSelfAdded(WaveletSelfAddedEvent event) { > event.getWavelet().reply("Hello Wave. I have been added"); > } > > @Override > public void onWaveletParticipantsChanged( > WaveletParticipantsChangedEvent event) { > for (String participant : event.getParticipantsAdded()) { > event.getWavelet().reply("\nHello " + participant); > } > > for (String participant : event.getParticipantsRemoved()) { > event.getWavelet().reply("\nGoodbye " + participant); > } > } > > } > > -- You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en.
