flex.messaging
Class FlexSessionBindingEvent

java.lang.Object
  extended by flex.messaging.FlexSessionBindingEvent

public class FlexSessionBindingEvent
extends Object

Event used to notify FlexSessionAttributeListeners of changes to session attributes.


Constructor Summary
FlexSessionBindingEvent(FlexSession session, String name)
          Constructs an event for an attribute that is bound or unbound from a session.
FlexSessionBindingEvent(FlexSession session, String name, Object value)
          Constructs an event for an attribute that is added to a session or replaced by a new value.
 
Method Summary
 String getName()
          Returns the name of the attribute associated with the event.
 FlexSession getSession()
          Returns the Flex session that generated the event.
 Object getValue()
          Returns the value of the attribute associated with the event.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlexSessionBindingEvent

public FlexSessionBindingEvent(FlexSession session,
                               String name)
Constructs an event for an attribute that is bound or unbound from a session.

Parameters:
session - The associated session.
name - The attribute name.

FlexSessionBindingEvent

public FlexSessionBindingEvent(FlexSession session,
                               String name,
                               Object value)
Constructs an event for an attribute that is added to a session or replaced by a new value.

Parameters:
session - The associated session.
name - The attribute name.
value - The attribute value.
Method Detail

getSession

public FlexSession getSession()
Returns the Flex session that generated the event.

Returns:
The Flex session that generated the event.

getName

public String getName()
Returns the name of the attribute associated with the event.

Returns:
The name of the attribute associated with the event.

getValue

public Object getValue()
Returns the value of the attribute associated with the event.

Returns:
The value of the attribute associated with the event.


Copyright © 2008 Adobe Systems Inc. All Rights Reserved.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/FlexSessionBindingEvent.html