flex.messaging
Interface FlexSessionListener


public interface FlexSessionListener

Interface to be notified when a FlexSession is created or destroyed. Implementations of this interface may add themselves as session created listeners statically via FlexSession.addSessionCreatedListener(). To listen for FlexSession destruction, the implementation class instance must add itself as a listener to a specific FlexSession instance via the addSessionDestroyedListener() method.


Method Summary
 void sessionCreated(FlexSession session)
          Notification that a FlexSession was created.
 void sessionDestroyed(FlexSession session)
          Notification that a FlexSession was destroyed.
 

Method Detail

sessionCreated

public void sessionCreated(FlexSession session)
Notification that a FlexSession was created.

Parameters:
session - The FlexSession that was created.

sessionDestroyed

public void sessionDestroyed(FlexSession session)
Notification that a FlexSession was destroyed. All attributes are unbound and removed from the session before session destroy listeners are notified.

Parameters:
session - The FlexSession that was destroyed.


Copyright © 2006 Adobe Systems Inc. All Rights Reserved. (Updated August 2, 2006)

Take a survey