1  /**
     2   * com.sekati.services.SOAPEvent
     3   * @version 1.0.1
     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  import com.sekati.services.SOAPClient;
    11  
    12  /**
    13   * SoapEvent for use by {@link Logger} for {@link Console}.
    14   */
    15  class com.sekati.services.SOAPEvent extends Event {
    16  
    17  	public static var CONNECT:String = "onSoapConnect";
    18  	public static var FAULT:String = "onSoapConnectFault";
    19  	public static var CALL_RESULT:String = "onSoapCallResult";
    20  	public static var CALL_FAULT:String = "onSoapCallFault";
    21  	private static var _target:SOAPClient = SOAPClient.getInstance( );
    22  
    23  	/**
    24  	 * Constructor creates a SoapEvent via {@link SoapClient} to be dispatched.
    25  	 * @param type (String) - one of the Soap event types listed above.
    26  	 * @param data (Object) - contains Soap transaction data for connect, connectFaunt,callResult, callFault.
    27  	 * @return Void
    28  	 */
    29  	public function SOAPEvent(type:String, data:Object) {
    30  		super( type, _target, data );
    31  	}
    32  }