 
         return result;
     }
-
+	
+	/**
+	 * change the result url to redirect request to Network Monitor
+	 */
+	
+	private function monitorRpcMessage(message:IMessage, result:URLRequest):void
+	{
+		if (NetworkMonitor.isMonitoring())
+		{		
+			var redirectedUrl:String = NetworkMonitor.adjustNetConnectionURL(LoaderConfig.url, result.url);
+			if(redirectedUrl != null){				
+				result.url = redirectedUrl;
+			}		
+		}
+	}
+	
     //--------------------------------------------------------------------------
     //
     // Protected Methods

import mx.messaging.channels.amfx.AMFXHeader;
import mx.messaging.channels.amfx.AMFXResult;
import mx.messaging.config.ConfigMap;
import mx.messaging.config.ServerConfig;
import mx.messaging.errors.MessageSerializationError;
import mx.messaging.events.ChannelFaultEvent;

import mx.messaging.messages.IMessage;
import mx.messaging.messages.MessagePerformanceInfo;
import mx.messaging.messages.MessagePerformanceUtils;
import mx.netmon.NetworkMonitor;
import mx.utils.ObjectUtil;
import mx.utils.StringUtil;

