creamtec.webcream
Interface WebCreamSessionListener


public interface WebCreamSessionListener

WebCreamSessionListener can be used to do task that are required before or after a client session has been created or deleted. For example, if your custom rendereres have allocated some resources or created files that need to be released, you can implement this interface and register your class with WebCreamManager.


Method Summary
 void afterCreate(int clientId, ClientAgentRemote agent)
          Called after a new client agent instance is created.
 void afterDestroy(int clientId, ClientAgentRemote agent)
          Called after a client agent session is destroyed due to a time out or user exit
 void beforeCreate()
          Called before a new client agent instance is created.
 void beforeDestroy(int clientId, ClientAgentRemote agent)
          Called before a client agent session is destroyed due to a time out or user exit
 

Method Detail

beforeCreate

void beforeCreate()
Called before a new client agent instance is created.


afterCreate

void afterCreate(int clientId,
                 ClientAgentRemote agent)
Called after a new client agent instance is created.


beforeDestroy

void beforeDestroy(int clientId,
                   ClientAgentRemote agent)
Called before a client agent session is destroyed due to a time out or user exit


afterDestroy

void afterDestroy(int clientId,
                  ClientAgentRemote agent)
Called after a client agent session is destroyed due to a time out or user exit



Copyright © 2000-2006 CreamTec LLC. All Rights Reserved.