Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
B
I
O
P
R
S
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.
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.
onShutdown()
- Method in interface org.coweb.bots.
Bot
Called when the bot service is to shutdown.
onSubscribe(String)
- Method in interface org.coweb.bots.
Bot
Called when a user subscribes to the service provided by this bot.
onSync(Map<String, Object>, String)
- Method in interface org.coweb.bots.
Bot
Called when a sync events occurs in the session.
onUnsubscribe(String)
- Method in interface org.coweb.bots.
Bot
Called when a user unsubscribes to the service provided by this bot.
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.
B
I
O
P
R
S
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2011-2012
The Dojo Foundation
. All Rights Reserved.