1  /**
     2   * com.sekati.events.IBroadcastable
     3   * @version 1.0.5
     4   * @author jason m horwitz | sekati.com
     5   * Copyright (C) 2007  jason m horwitz, Sekat LLC. All Rights Reserved.
     6   * Released under the MIT License: http://www.opensource.org/licenses/mit-license.php
     7   */
     8  
     9  import com.sekati.core.CoreInterface;
    10  
    11  /**
    12   * Interface describing Event Broadcasters such as {@link com.sekati.events.Broadcaster}.
    13   */
    14  interface com.sekati.events.IBroadcastable extends CoreInterface {
    15  
    16  	function subscribe(o:Object):Void;
    17  
    18  	function unsubscribe(o:Object):Void;
    19  
    20  	function reset():Void;
    21  
    22  	function broadcast():Void;
    23  
    24  	function addListener(o:Object):Number;
    25  
    26  	function removeListener(o:Object):Boolean;
    27  }