 //------------------------------------------------------------------------------
 //
 // Private Classes
-// 
+//
 //------------------------------------------------------------------------------
 
 import flash.net.ObjectEncoding;

            connectFailed(faultEvent);
        }
    }
        
    /**
     *  Handles security error events dispatched by the streaming connection.
     * 
     *  @param event The SecurityErrorEvent.
     */
    private function streamSecurityErrorHandler(event:SecurityErrorEvent):void
    {
		// Just log as we'll never reach this handler because the prior ping will trigger 
        // a security error before we try to establish the streaming connection.    	
    	if (Log.isDebug())
    		_log.debug("'{0}' channel encountered a security error: {1}", id, event.text);    		
    }
    
    /**
     *  Handle status events dispatched by the streaming connection.
     * 
     *  @param event The StatusEvent.
     */
    private function streamStatusHandler(event:StatusEvent):void

        {
            streamingConnectionHandler.closeStreamingConnection();
            disconnectSuccess(true /* rejected */);
        }
    }
}

}
