1 /** 2 * com.sekati.remoting.RemoteEvent 3 * @version 1.0.0 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.events.Event; 10 11 /** 12 * RemoteEvent for use by {@link RemoteCall}. 13 */ 14 class com.sekati.remoting.RemoteEvent extends Event { 15 16 public static var onRemoteResultEVENT:String = "onRemoteCallResult"; 17 public static var onRemoteFaultEVENT:String = "onRemoteCallFault"; 18 19 /** 20 * Constructor creates a RemoteEvent via {@link RemoveCall} to be dispatched. 21 * @param type (String) - one of the remote event types listed above. 22 * @param target (Object) - the object that dispatched this event. 23 * @param data (Object) - contains remoting transaction data for recieve and error. 24 * @return Void 25 */ 26 public function RemoteEvent(type:String, target:Object, data:Object) { 27 super( type, target, data ); 28 } 29 }