B I O P R S V

B

Bot - Interface in org.coweb.bots
Interface that any coweb bot must define.

I

init() - Method in interface org.coweb.bots.Bot
The bot Proxy will call this method when a new session has been created and a user has subscribed to this bot's service.
init() - Method in class org.coweb.bots.VanillaBot
 

O

onRequest(Map<String, Object>, String, String) - Method in interface org.coweb.bots.Bot
Called when a user make a private request to this bot.
onRequest(Map<String, Object>, String, String) - Method in class org.coweb.bots.VanillaBot
 
onShutdown() - Method in interface org.coweb.bots.Bot
Called when the bot service is to shutdown.
onShutdown() - Method in class org.coweb.bots.VanillaBot
 
onSubscribe(String) - Method in interface org.coweb.bots.Bot
Called when a user subscribes to the service provided by this bot.
onSubscribe(String) - Method in class org.coweb.bots.VanillaBot
 
onUnsubscribe(String) - Method in interface org.coweb.bots.Bot
Called when a user unsubscribes to the service provided by this bot.
onUnsubscribe(String) - Method in class org.coweb.bots.VanillaBot
 
org.coweb.bots - package org.coweb.bots
 

P

Proxy - Interface in org.coweb.bots
Interface used by the bots to send messages back to the session.
publish(Bot, Map<String, Object>) - Method in interface org.coweb.bots.Proxy
Allows the bot to publish data to the session.

R

reply(Bot, String, Map<String, Object>) - Method in interface org.coweb.bots.Proxy
Allows the bot to reply to a private user request.

S

setProxy(Proxy) - Method in interface org.coweb.bots.Bot
Sets the proxy object this bot should use to reply to subscribes, sync, requests, etc.

V

VanillaBot - Class in org.coweb.bots
Implement the Bot interface with nops for all public methods.
VanillaBot() - Constructor for class org.coweb.bots.VanillaBot
 

B I O P R S V

Copyright © 2011-2012 The Dojo Foundation. All Rights Reserved.