|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The base interface for all unique sharedlet session logic. Sharedlet session logic should store contain session logic among a distributed set of sharedlet instances. It is normally the server side logic in a traditional client/server architecture.
The session logic will be managed by the SharedletManager and will be loaded and run by a session logic container (application server) in a client/server implementation.
A sharedlet may have 1 or more session logic which encapsulate 1 or more pieces of logic. For example, the text chat sharedlet may have 1 session logic that adapts it to Yahoo! text chat and another session logic that adapts it to AOL text chat.
Method Summary | |
void |
init(Context ctx)
Initialize the logic. |
void |
resume()
Resume the service. |
void |
shutdown()
Shutdown the service. |
void |
suspend()
Suspend the service. |
Method Detail |
public void init(Context ctx)
When initialized, it will be given the context under which the session logic should run. This context will be the same context as what the Sharedlet & ShardletView sees. Through this context, the session logic can get resources commonly available to sharedlets in this session(meeting).
ctx
- The context in which the session logic runs.public void suspend()
public void shutdown()
public void resume()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |